forked from mirrors/nixpkgs
bottom: init at 0.4.7
Co-authored-by: r-burns <52847440+r-burns@users.noreply.github.com>
This commit is contained in:
parent
7fa897d4a4
commit
f4ede1e1ba
28
pkgs/tools/system/bottom/default.nix
Normal file
28
pkgs/tools/system/bottom/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
@ -28175,4 +28175,6 @@ in
|
|||
|
||||
fac-build = callPackage ../development/tools/build-managers/fac {};
|
||||
|
||||
bottom = callPackage ../tools/system/bottom {};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue