mdbook-pdf: add changelog to meta
This commit is contained in:
parent
f422859340
commit
0c3516ed92
|
@ -1,4 +1,11 @@
|
||||||
{ lib, stdenv, fetchCrate, rustPlatform, pkg-config, openssl, CoreServices }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchCrate
|
||||||
|
, rustPlatform
|
||||||
|
, pkg-config
|
||||||
|
, openssl
|
||||||
|
, CoreServices
|
||||||
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "mdbook-pdf";
|
pname = "mdbook-pdf";
|
||||||
|
@ -6,23 +13,29 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
src = fetchCrate {
|
src = fetchCrate {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-v57Geqd1YCzR9oM97K+Y9OdeokzNc4Kbh0sDP0+vxjU=";
|
hash = "sha256-v57Geqd1YCzR9oM97K+Y9OdeokzNc4Kbh0sDP0+vxjU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-mZUif1qBREM/5GYJU9m20p3rC3fnbZELcEKatwhoQEU=";
|
cargoHash = "sha256-mZUif1qBREM/5GYJU9m20p3rC3fnbZELcEKatwhoQEU=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ openssl ]
|
buildInputs = [
|
||||||
++ lib.optionals stdenv.isDarwin [ CoreServices ];
|
openssl
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
CoreServices
|
||||||
|
];
|
||||||
|
|
||||||
# No test.
|
# No test.
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A backend for mdBook written in Rust for generating PDF";
|
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;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ hollowman6 ];
|
maintainers = with maintainers; [ hollowman6 ];
|
||||||
homepage = "https://github.com/HollowMan6/mdbook-pdf";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue