From 6d6f5d1692798bf3a7307fac25ed056413fe588c Mon Sep 17 00:00:00 2001 From: Bruno Bigras Date: Mon, 23 Mar 2020 01:25:57 -0400 Subject: [PATCH] zenith: init at 0.8.0 --- pkgs/tools/system/zenith/default.nix | 23 +++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/tools/system/zenith/default.nix diff --git a/pkgs/tools/system/zenith/default.nix b/pkgs/tools/system/zenith/default.nix new file mode 100644 index 000000000000..7ca0f3808985 --- /dev/null +++ b/pkgs/tools/system/zenith/default.nix @@ -0,0 +1,23 @@ +{ stdenv, rustPlatform, fetchFromGitHub }: + +rustPlatform.buildRustPackage rec { + pname = "zenith"; + version = "0.8.0"; + + src = fetchFromGitHub { + owner = "bvaisvil"; + repo = pname; + rev = version; + sha256 = "1m709mnhhjs30s91542rhri3xbzsb3kw8zablvn11rwp2iq1lxxx"; + }; + + cargoSha256 = "1j6pww4mpssnr9zsbfy74llv7336kjrif1qiph998b82qj63vdlg"; + + 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 ]; + platforms = platforms.x86; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 37db858ec0dc..1f2da40ab8c4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7780,6 +7780,8 @@ in zdelta = callPackage ../tools/compression/zdelta { }; + zenith = callPackage ../tools/system/zenith {}; + zerotierone = callPackage ../tools/networking/zerotierone { }; zerofree = callPackage ../tools/filesystems/zerofree { };