Unverified Commit 05dd7ec2 authored by Anthony Roussel's avatar Anthony Roussel
Browse files

nvtop: add passthru.tests.version

parent 494c011a
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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 = ''