forked from mirrors/nixpkgs
27 lines
798 B
Nix
27 lines
798 B
Nix
{ stdenv, rustPlatform, fetchFromGitHub, IOKit }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "zenith";
|
|
version = "0.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bvaisvil";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1yfbr8zmcy7zp9s9cqv7qypj2vvhpq09r0398gr7ckjk6v70hhfg";
|
|
};
|
|
|
|
cargoSha256 = "1l4cjcpfghis983y31s54fzjppdnh3wa4anwi7bdsbyvqz3n3ywj";
|
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ IOKit ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Sort of like top or htop but with zoom-able charts, network, and disk usage";
|
|
homepage = "https://github.com/bvaisvil/zenith";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ bbigras ];
|
|
# doesn't build on aarch64 https://github.com/bvaisvil/zenith/issues/19
|
|
platforms = platforms.x86;
|
|
};
|
|
}
|