about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/rust/rusty-man/default.nix
blob: c8177cde071fd28843af8446aca1d02e4516bab7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 ];
  };
}