mdbook-pdf: 0.1.5 -> 0.1.6

Signed-off-by: Hollow Man <hollowman@opensuse.org>
This commit is contained in:
Hollow Man 2023-05-20 11:00:38 +03:00
parent 56da03d404
commit 17a338a5d4
No known key found for this signature in database
GPG key ID: 06CA2A0660F48F7A

View file

@ -3,23 +3,25 @@
, fetchCrate , fetchCrate
, rustPlatform , rustPlatform
, pkg-config , pkg-config
, rustfmt
, openssl , openssl
, CoreServices , CoreServices
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "mdbook-pdf"; pname = "mdbook-pdf";
version = "0.1.5"; version = "0.1.6";
src = fetchCrate { src = fetchCrate {
inherit pname version; inherit pname version;
hash = "sha256-822RQKgedxQ+VFNDv20tFUc2Xl56Ivub+/EXNrLRfGM="; hash = "sha256-eaZ4LlswbVgC/pOZH3cevxGzlgKXFJnvcNMovqCEBOc=";
}; };
cargoHash = "sha256-mX2EKjuWM1KW8DXFdYFKQfASjdqZCW78F1twZNQQr7o="; cargoHash = "sha256-mj1heP231CWad6Uy4g9TCcDVj8f86Pf689kuePbzfBg=";
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
rustfmt
]; ];
buildInputs = [ buildInputs = [
@ -28,6 +30,15 @@ rustPlatform.buildRustPackage rec {
CoreServices CoreServices
]; ];
# Stop downloading from the Internet to
# generate the Chrome Devtools Protocol
DOCS_RS=true;
# # Stop formating with rustfmt, pending version update for
# # https://github.com/mdrokz/auto_generate_cdp/pull/8
# # to remove rustfmt dependency
# DO_NOT_FORMAT=true;
# No test. # No test.
doCheck = false; doCheck = false;