From 6938e9d22fe8781d61fcb10c502b560e056f7cc3 Mon Sep 17 00:00:00 2001 From: Hollow Man Date: Tue, 6 Aug 2024 10:52:45 +0300 Subject: [PATCH] mdbook-pdf: 0.1.8 -> 0.1.10 Signed-off-by: Hollow Man --- pkgs/tools/text/mdbook-pdf/default.nix | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/pkgs/tools/text/mdbook-pdf/default.nix b/pkgs/tools/text/mdbook-pdf/default.nix index 472f5e3b8629..8bed07bd33b8 100644 --- a/pkgs/tools/text/mdbook-pdf/default.nix +++ b/pkgs/tools/text/mdbook-pdf/default.nix @@ -3,25 +3,23 @@ , fetchCrate , rustPlatform , pkg-config -, rustfmt , openssl , CoreServices }: rustPlatform.buildRustPackage rec { pname = "mdbook-pdf"; - version = "0.1.8"; + version = "0.1.10"; src = fetchCrate { inherit pname version; - hash = "sha256-UPSh0/8HFaLvnU95Gyd+uQaRvWeXlp+HViVUKX0I1jI="; + hash = "sha256-zRoO84ij7zF1I8ijXS/oApMKfS3e04+5/CgahAemqCA="; }; - cargoHash = "sha256-WYG2EkfEqjOOelxwivk5srtTNLxEPGX1ztwntvgft1I="; + cargoHash = "sha256-eay3tl4edeM05D+0iIu8Zw4L1N2Bk1csLo0AwNdyCdA="; nativeBuildInputs = [ pkg-config - rustfmt ]; buildInputs = [ @@ -32,12 +30,10 @@ rustPlatform.buildRustPackage rec { # Stop downloading from the Internet to # generate the Chrome Devtools Protocol - DOCS_RS=true; + env.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; + # Stop formatting with rustfmt + env.DO_NOT_FORMAT = true; # No test. doCheck = false;