2020-03-23 05:25:57 +00:00
|
|
|
{ stdenv, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "zenith";
|
2020-04-04 18:04:53 +01:00
|
|
|
version = "0.8.1";
|
2020-03-23 05:25:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bvaisvil";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-04-04 18:04:53 +01:00
|
|
|
sha256 = "12wbx4zhf1rf13g3mw8vcn8aqk9vcza61vi42y6c1pb2km73qw1h";
|
2020-03-23 05:25:57 +00:00
|
|
|
};
|
|
|
|
|
2020-04-04 18:04:53 +01:00
|
|
|
cargoPatches = [ ./cargo-lock.patch ];
|
|
|
|
cargoSha256 = "1nyci2vjwsyfscsd520d1r5vyazb33hv4mrsysy6amss4jdf2dlq";
|
2020-03-23 05:25:57 +00:00
|
|
|
|
|
|
|
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 ];
|
2020-04-04 18:04:53 +01:00
|
|
|
# doesn't build on aarch64 https://github.com/bvaisvil/zenith/issues/19
|
2020-03-23 05:25:57 +00:00
|
|
|
platforms = platforms.x86;
|
|
|
|
};
|
|
|
|
}
|