depot/third_party/nixpkgs/pkgs/development/tools/rust/rusty-man/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

24 lines
721 B
Nix

{ lib, rustPlatform, fetchFromSourcehut }:
rustPlatform.buildRustPackage rec {
pname = "rusty-man";
version = "0.5.0";
src = fetchFromSourcehut {
owner = "~ireas";
repo = pname;
rev = "v${version}";
sha256 = "sha256-djprzmogT1OEf0/+twdxzx30YaMNzFjXkZd4IDsH8oo=";
};
cargoHash = "sha256-Wf8D6y3LRYJpQjFFt0w5X+BOllbR3mc4Gzcr1ad3zD0=";
meta = with lib; {
description = "Command-line viewer for documentation generated by rustdoc";
mainProgram = "rusty-man";
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 ];
};
}