diff options
author | Austin Horstman <khaneliman12@gmail.com> | 2023-09-18 14:58:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-18 22:58:14 +0300 |
commit | ad07cd4fc2e37cdeca8f6b920f4d955fa280f595 (patch) | |
tree | 08ec710fe945cce33e59770b5b6d221bfe45dce8 /pkgs/tools/system/btop | |
parent | ba26780794642b18e46f255dd709e7a0c3704c08 (diff) |
treewide: add version tests (#255781)
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"; |