diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/text/mdbook-man/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/text/mdbook-man/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/text/mdbook-man/default.nix b/nixpkgs/pkgs/tools/text/mdbook-man/default.nix new file mode 100644 index 000000000000..541e27eb7e06 --- /dev/null +++ b/nixpkgs/pkgs/tools/text/mdbook-man/default.nix @@ -0,0 +1,23 @@ +{ lib, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "mdbook-man"; + version = "unstable-2022-11-05"; + + src = fetchFromGitHub { + owner = "vv9k"; + repo = pname; + rev = "b9537dfbb241d7456835ed7e9d27ab8c8184e5f6"; + hash = "sha256-ssAk60jnwYzAjseL26/3FaDv1vBAylgdE+vLhWZ8It4="; + }; + + cargoHash = "sha256-cR86eFhP9Swh+Ff8FNbAfWpWMkliOAyPwDQ6lRvU+nk="; + + meta = with lib; { + description = "Generate manual pages from mdBooks"; + homepage = "https://github.com/vv9k/mdbook-man"; + license = licenses.mit; + maintainers = with maintainers; [ matthiasbeyer ]; + }; +} + |