nixpkgs/pkgs/development/tools/rust/rusty-man/default.nix

24 lines
694 B
Nix
Raw Normal View History

2021-10-07 22:51:29 +02:00
{ lib, rustPlatform, fetchFromSourcehut }:
rustPlatform.buildRustPackage rec {
pname = "rusty-man";
2021-10-29 15:16:58 +02:00
version = "0.5.0";
2021-10-07 22:51:29 +02:00
src = fetchFromSourcehut {
owner = "~ireas";
repo = pname;
rev = "v${version}";
2021-10-29 15:16:58 +02:00
sha256 = "sha256-djprzmogT1OEf0/+twdxzx30YaMNzFjXkZd4IDsH8oo=";
2021-10-07 22:51:29 +02:00
};
2021-10-29 15:16:58 +02:00
cargoSha256 = "sha256-Wf8D6y3LRYJpQjFFt0w5X+BOllbR3mc4Gzcr1ad3zD0=";
2021-10-07 22:51:29 +02:00
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 ];
};
}