diff --git a/pkgs/development/tools/rust/rusty-man/default.nix b/pkgs/development/tools/rust/rusty-man/default.nix new file mode 100644 index 000000000000..c8177cde071f --- /dev/null +++ b/pkgs/development/tools/rust/rusty-man/default.nix @@ -0,0 +1,23 @@ +{ lib, rustPlatform, fetchFromSourcehut }: + +rustPlatform.buildRustPackage rec { + pname = "rusty-man"; + version = "0.4.3"; + + src = fetchFromSourcehut { + owner = "~ireas"; + repo = pname; + rev = "v${version}"; + sha256 = "1yp1clmf4hpvqbvn055hiq52584kbrz5b3cjzw8bgkw51nwxr2yx"; + }; + + cargoSha256 = "sha256-mIM97YraTiDAowqlB4kAE4PdtWHgvw0UI6Nqoe1EBns="; + + meta = with lib; { + description = "A command-line viewer for documentation generated by rustdoc"; + homepage = "https://git.sr.ht/~ireas/rusty-man"; + changelog = "https://git.sr.ht/~ireas/rusty-man/tree/v${version}/item/CHANGELOG.md"; + license = licenses.mit; + maintainers = with maintainers; [ figsoda ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5b42e5667541..f0ce26d81c31 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12666,6 +12666,7 @@ with pkgs; rustup-toolchain-install-master = callPackage ../development/tools/rust/rustup-toolchain-install-master { inherit (darwin.apple_sdk.frameworks) Security; }; + rusty-man = callPackage ../development/tools/rust/rusty-man { }; sagittarius-scheme = callPackage ../development/compilers/sagittarius-scheme {};