about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/bottom-rs/default.nix
blob: ab5763c207d1f1bdf1e4daddd74feb3fe741780a (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, fetchFromGitHub }:

rustPlatform.buildRustPackage rec {
  pname = "bottom-rs";
  version = "unstable-2021-04-27";

  src = fetchFromGitHub {
    owner = "bottom-software-foundation";
    repo = pname;
    rev = "3451cdadd7c4e64fe8e7f43e986a18628a741dec";
    sha256 = "0kr18q80021s1n9zzzff6w6yvbbjnk6zbbabi5b42b0rfv6fnfn2";
  };

  cargoPatches = [ ./cargo-lock.patch ];
  cargoSha256 = "0nyzg6pg69bf9vvc3r5lnhmkb9s1508c1gqcra3y43zffdlwml1y";

  meta = with lib; {
    description = "Fantastic (maybe) CLI for translating between bottom and human-readable text";
    homepage = "https://github.com/bottom-software-foundation/bottom-rs";
    license = licenses.mit;
    maintainers = with maintainers; [ winterqt ];
  };
}