diff options
author | Nicolas Berbiche <nicolas@normie.dev> | 2020-09-30 12:44:06 -0400 |
---|---|---|
committer | Nicolas Berbiche <nicolas@normie.dev> | 2020-09-30 12:44:06 -0400 |
commit | f4ede1e1ba06372797a4df9730203aad2b9cb7b4 (patch) | |
tree | 413209f7f555523f5e4756fc7ba3324beb27872d /pkgs/tools/system/bottom | |
parent | 7fa897d4a48bd3bafe75b9747ffeb6841e75b6bc (diff) |
bottom: init at 0.4.7
Co-authored-by: r-burns <52847440+r-burns@users.noreply.github.com>
Diffstat (limited to 'pkgs/tools/system/bottom')
-rw-r--r-- | pkgs/tools/system/bottom/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/system/bottom/default.nix b/pkgs/tools/system/bottom/default.nix new file mode 100644 index 0000000000000..498ab1136fa4c --- /dev/null +++ b/pkgs/tools/system/bottom/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub, rustPlatform, darwin }: + +rustPlatform.buildRustPackage rec { + pname = "bottom"; + version = "0.4.7"; + + src = fetchFromGitHub { + owner = "ClementTsang"; + repo = pname; + rev = version; + sha256 = "rDcJ5XF7L13MKZ8/J4sYD+UqC+HkZvxRtDkY9IVLH50="; + }; + + buildInputs = stdenv.lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.IOKit; + + cargoSha256 = "XeX6QM0a628mcaptNZkKAvDnGfW5tx+aWNBpMyjz44M="; + + doCheck = false; + + meta = with stdenv.lib; { + description = "A cross-platform graphical process/system monitor with a customizable interface"; + homepage = "https://github.com/ClementTsang/bottom"; + license = licenses.mit; + maintainers = with maintainers; [ berbiche ]; + platforms = platforms.unix; + }; +} + |