diff options
Diffstat (limited to 'pkgs/tools/system/btop')
-rw-r--r-- | pkgs/tools/system/btop/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/tools/system/btop/default.nix b/pkgs/tools/system/btop/default.nix index b74089ae0a9a7..a4a5156525dd2 100644 --- a/pkgs/tools/system/btop/default.nix +++ b/pkgs/tools/system/btop/default.nix @@ -3,6 +3,8 @@ , fetchFromGitHub , darwin , removeReferencesTo +, btop +, testers }: stdenv.mkDerivation rec { @@ -30,6 +32,10 @@ stdenv.mkDerivation rec { ${removeReferencesTo}/bin/remove-references-to -t ${stdenv.cc.cc} $(readlink -f $out/bin/btop) ''; + passthru.tests.version = testers.testVersion { + package = btop; + }; + meta = with lib; { description = "A monitor of resources"; homepage = "https://github.com/aristocratos/btop"; |