Unverified Commit 1a6b0d3a authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

Merge pull request #232225 from HollowMan6/master

mdbook-pdf: 0.1.5 -> 0.1.6
parents 9d64b8f1 17a338a5
Loading
Loading
Loading
Loading
+14 −3
Original line number Diff line number Diff line
@@ -3,23 +3,25 @@
, fetchCrate
, rustPlatform
, pkg-config
, rustfmt
, openssl
, CoreServices
}:

rustPlatform.buildRustPackage rec {
  pname = "mdbook-pdf";
  version = "0.1.5";
  version = "0.1.6";

  src = fetchCrate {
    inherit pname version;
    hash = "sha256-822RQKgedxQ+VFNDv20tFUc2Xl56Ivub+/EXNrLRfGM=";
    hash = "sha256-eaZ4LlswbVgC/pOZH3cevxGzlgKXFJnvcNMovqCEBOc=";
  };

  cargoHash = "sha256-mX2EKjuWM1KW8DXFdYFKQfASjdqZCW78F1twZNQQr7o=";
  cargoHash = "sha256-mj1heP231CWad6Uy4g9TCcDVj8f86Pf689kuePbzfBg=";

  nativeBuildInputs = [
    pkg-config
    rustfmt
  ];

  buildInputs = [
@@ -28,6 +30,15 @@ rustPlatform.buildRustPackage rec {
    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.
  doCheck = false;