diff options
author | Stig P <stig@stig.io> | 2020-10-01 08:06:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-01 08:06:37 +0000 |
commit | 302ef60620d277fc87a8aa58c5c561b62c925651 (patch) | |
tree | 88256167fd090a51d6d1f434807d4443f2b88d1f /pkgs/tools/system | |
parent | 7779eb31c59936d7fc018fedcf81a022fe112a54 (diff) | |
parent | f4ede1e1ba06372797a4df9730203aad2b9cb7b4 (diff) | |
download | nixpkgs-302ef60620d277fc87a8aa58c5c561b62c925651.tar nixpkgs-302ef60620d277fc87a8aa58c5c561b62c925651.tar.gz nixpkgs-302ef60620d277fc87a8aa58c5c561b62c925651.tar.bz2 nixpkgs-302ef60620d277fc87a8aa58c5c561b62c925651.tar.lz nixpkgs-302ef60620d277fc87a8aa58c5c561b62c925651.tar.xz nixpkgs-302ef60620d277fc87a8aa58c5c561b62c925651.tar.zst nixpkgs-302ef60620d277fc87a8aa58c5c561b62c925651.zip |
Merge pull request #99126 from berbiche/bottom
bottom: init at 0.4.7
Diffstat (limited to 'pkgs/tools/system')
-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 00000000000..498ab1136fa --- /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; + }; +} + |