zenith: enable on darwin

This commit is contained in:
Mario Rodas 2020-04-04 16:20:00 -05:00
parent 26e8ab5a7b
commit 48ec5da6ac
No known key found for this signature in database
GPG key ID: 325649BCA6D53027
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, rustPlatform, fetchFromGitHub }:
{ stdenv, rustPlatform, fetchFromGitHub, IOKit }:
rustPlatform.buildRustPackage rec {
pname = "zenith";
@ -14,6 +14,8 @@ rustPlatform.buildRustPackage rec {
cargoPatches = [ ./cargo-lock.patch ];
cargoSha256 = "1nyci2vjwsyfscsd520d1r5vyazb33hv4mrsysy6amss4jdf2dlq";
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";

View file

@ -7720,7 +7720,9 @@ in
zdelta = callPackage ../tools/compression/zdelta { };
zenith = callPackage ../tools/system/zenith {};
zenith = callPackage ../tools/system/zenith {
inherit (darwin.apple_sdk.frameworks) IOKit;
};
zerotierone = callPackage ../tools/networking/zerotierone { };