zenith: enable on darwin
This commit is contained in:
parent
26e8ab5a7b
commit
48ec5da6ac
2 changed files with 6 additions and 2 deletions
|
@ -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";
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue