ytop: init at 0.4.0
This commit is contained in:
parent
24c739c512
commit
43686160bc
28
pkgs/tools/system/ytop/default.nix
Normal file
28
pkgs/tools/system/ytop/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ stdenv, rustPlatform, fetchFromGitHub, IOKit }:
|
||||||
|
|
||||||
|
assert stdenv.isDarwin -> IOKit != null;
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "ytop";
|
||||||
|
version = "0.4.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "cjbassi";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1158nlg5b93jyljwvf9f2m8m3ph8sksk5dh9sfnvbiifbk4gizv7";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ IOKit ];
|
||||||
|
|
||||||
|
cargoSha256 = "11pcchwahcwdvmfwfs6j2zg23grlw538wfs90mvqy2mpccj7d3ys";
|
||||||
|
verifyCargoDeps = true;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "A TUI system monitor written in Rust";
|
||||||
|
homepage = https://github.com/cjbassi/ytop;
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ sikmir ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
}
|
@ -7551,6 +7551,10 @@ in
|
|||||||
|
|
||||||
yeshup = callPackage ../tools/system/yeshup { };
|
yeshup = callPackage ../tools/system/yeshup { };
|
||||||
|
|
||||||
|
ytop = callPackage ../tools/system/ytop {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) IOKit;
|
||||||
|
};
|
||||||
|
|
||||||
yggdrasil = callPackage ../tools/networking/yggdrasil { };
|
yggdrasil = callPackage ../tools/networking/yggdrasil { };
|
||||||
|
|
||||||
# To expose more packages for Yi, override the extraPackages arg.
|
# To expose more packages for Yi, override the extraPackages arg.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user