diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2023-01-10 16:17:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-10 16:17:03 +0100 |
commit | 0c3516ed926e0d0b5c891e09ad70d9e2130c68c7 (patch) | |
tree | 1a5b8ed0b7d36dda6406bb32b30341597aeab203 /pkgs/tools/text/mdbook-pdf/default.nix | |
parent | f422859340a4a93ab298096044e867b1a5a1e432 (diff) | |
download | nixlib-0c3516ed926e0d0b5c891e09ad70d9e2130c68c7.tar nixlib-0c3516ed926e0d0b5c891e09ad70d9e2130c68c7.tar.gz nixlib-0c3516ed926e0d0b5c891e09ad70d9e2130c68c7.tar.bz2 nixlib-0c3516ed926e0d0b5c891e09ad70d9e2130c68c7.tar.lz nixlib-0c3516ed926e0d0b5c891e09ad70d9e2130c68c7.tar.xz nixlib-0c3516ed926e0d0b5c891e09ad70d9e2130c68c7.tar.zst nixlib-0c3516ed926e0d0b5c891e09ad70d9e2130c68c7.zip |
mdbook-pdf: add changelog to meta
Diffstat (limited to 'pkgs/tools/text/mdbook-pdf/default.nix')
-rw-r--r-- | pkgs/tools/text/mdbook-pdf/default.nix | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/pkgs/tools/text/mdbook-pdf/default.nix b/pkgs/tools/text/mdbook-pdf/default.nix index 38c1a0754b73..020ebdc0ca3d 100644 --- a/pkgs/tools/text/mdbook-pdf/default.nix +++ b/pkgs/tools/text/mdbook-pdf/default.nix @@ -1,4 +1,11 @@ -{ lib, stdenv, fetchCrate, rustPlatform, pkg-config, openssl, CoreServices }: +{ lib +, stdenv +, fetchCrate +, rustPlatform +, pkg-config +, openssl +, CoreServices +}: rustPlatform.buildRustPackage rec { pname = "mdbook-pdf"; @@ -6,23 +13,29 @@ rustPlatform.buildRustPackage rec { src = fetchCrate { inherit pname version; - sha256 = "sha256-v57Geqd1YCzR9oM97K+Y9OdeokzNc4Kbh0sDP0+vxjU="; + hash = "sha256-v57Geqd1YCzR9oM97K+Y9OdeokzNc4Kbh0sDP0+vxjU="; }; 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"; }; } |