1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

Merge pull request #140895 from figsoda/rusty-man

This commit is contained in:
Sandro 2021-10-07 23:53:37 +02:00 committed by GitHub
commit a8bcfdf5f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -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 {};