mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
Merge pull request #210047 from r-ryantm/auto-update/mdbook-pdf
mdbook-pdf: 0.1.3 -> 0.1.4
This commit is contained in:
commit
7641ae2ab0
@ -1,28 +1,41 @@
|
||||
{ lib, stdenv, fetchCrate, rustPlatform, pkg-config, openssl, CoreServices }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchCrate
|
||||
, rustPlatform
|
||||
, pkg-config
|
||||
, openssl
|
||||
, CoreServices
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "mdbook-pdf";
|
||||
version = "0.1.3";
|
||||
version = "0.1.4";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-zFeEmIv3DIYKmhVYO9cJwRQbSP8yELaJjVjP7hYegco=";
|
||||
hash = "sha256-v57Geqd1YCzR9oM97K+Y9OdeokzNc4Kbh0sDP0+vxjU=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-pB7NEloeow4TE1Y1EMUZzeCJ/f4DnCS+sQlyN49gqzA=";
|
||||
cargoHash = "sha256-mZUif1qBREM/5GYJU9m20p3rC3fnbZELcEKatwhoQEU=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [ openssl ]
|
||||
++ lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
buildInputs = [
|
||||
openssl
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
CoreServices
|
||||
];
|
||||
|
||||
# No test.
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A backend for mdBook written in Rust for generating PDF";
|
||||
homepage = "https://github.com/HollowMan6/mdbook-pdf";
|
||||
changelog = "https://github.com/HollowMan6/mdbook-pdf/releases/tag/v${version}";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ hollowman6 ];
|
||||
homepage = "https://github.com/HollowMan6/mdbook-pdf";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user