nvtop: add passthru.tests.version

This commit is contained in:
Anthony Roussel 2022-11-16 22:15:16 +01:00
parent 494c011a6a
commit 05dd7ec2a3
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E

View File

@ -6,6 +6,8 @@
, cudatoolkit
, libdrm
, ncurses
, nvtop
, testers
, addOpenGLRunpath
, amd ? true
, nvidia ? true
@ -54,6 +56,14 @@ stdenv.mkDerivation rec {
doCheck = true;
passthru = {
tests.version = testers.testVersion {
inherit version;
package = nvtop;
command = "nvtop --version";
};
};
meta = with lib; {
description = "A (h)top like task monitor for AMD, Intel and NVIDIA GPUs";
longDescription = ''