diff options
author | Joshua Gilman <joshuagilman@gmail.com> | 2022-06-03 17:11:32 -0700 |
---|---|---|
committer | Joshua Gilman <joshuagilman@gmail.com> | 2022-06-06 07:01:56 -0700 |
commit | 23be58ef4c77cf4ff567de3fcd0361930610630f (patch) | |
tree | e880071ff7b06a5f7a1aae077ee80a2a5986768b /pkgs/tools/text/mdbook-admonish/default.nix | |
parent | 628d7a800c19958a9919d1aea4bc498559ee65bc (diff) |
mdbook-admonish: init at 1.6.0
fix: removes trailing period in package description mdbook-admonish: init at 1.6.0
Diffstat (limited to 'pkgs/tools/text/mdbook-admonish/default.nix')
-rw-r--r-- | pkgs/tools/text/mdbook-admonish/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/tools/text/mdbook-admonish/default.nix b/pkgs/tools/text/mdbook-admonish/default.nix new file mode 100644 index 0000000000000..c72f7454b2bf1 --- /dev/null +++ b/pkgs/tools/text/mdbook-admonish/default.nix @@ -0,0 +1,22 @@ +{ lib, stdenv, fetchCrate, rustPlatform, CoreServices }: + +rustPlatform.buildRustPackage rec { + pname = "mdbook-admonish"; + version = "1.6.0"; + + src = fetchCrate { + inherit pname version; + sha256 = "sha256-GH4T7arBabm+DXIJa3seP6L13DBleoNqYwzxhoCZJgI="; + }; + + cargoSha256 = "sha256-v0usxkGWs/qzUPU6ZwtTpUD7hXdSBZGYQifMZnr7sfI="; + + buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ]; + + meta = with lib; { + description = "A preprocessor for mdbook to add Material Design admonishments"; + license = licenses.mit; + maintainers = with maintainers; [ jmgilman ]; + homepage = "https://github.com/tommilligan/mdbook-admonish"; + }; +} |