1{ lib, rustPlatform, fetchFromSourcehut }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "rusty-man";
5 version = "0.5.0";
6
7 src = fetchFromSourcehut {
8 owner = "~ireas";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-djprzmogT1OEf0/+twdxzx30YaMNzFjXkZd4IDsH8oo=";
12 };
13
14 cargoSha256 = "sha256-Wf8D6y3LRYJpQjFFt0w5X+BOllbR3mc4Gzcr1ad3zD0=";
15
16 meta = with lib; {
17 description = "A command-line viewer for documentation generated by rustdoc";
18 homepage = "https://git.sr.ht/~ireas/rusty-man";
19 changelog = "https://git.sr.ht/~ireas/rusty-man/tree/v${version}/item/CHANGELOG.md";
20 license = licenses.mit;
21 maintainers = with maintainers; [ figsoda ];
22 };
23}