mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
nvtop: add passthru.tests.version
This commit is contained in:
parent
494c011a6a
commit
05dd7ec2a3
@ -6,6 +6,8 @@
|
|||||||
, cudatoolkit
|
, cudatoolkit
|
||||||
, libdrm
|
, libdrm
|
||||||
, ncurses
|
, ncurses
|
||||||
|
, nvtop
|
||||||
|
, testers
|
||||||
, addOpenGLRunpath
|
, addOpenGLRunpath
|
||||||
, amd ? true
|
, amd ? true
|
||||||
, nvidia ? true
|
, nvidia ? true
|
||||||
@ -54,6 +56,14 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
tests.version = testers.testVersion {
|
||||||
|
inherit version;
|
||||||
|
package = nvtop;
|
||||||
|
command = "nvtop --version";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A (h)top like task monitor for AMD, Intel and NVIDIA GPUs";
|
description = "A (h)top like task monitor for AMD, Intel and NVIDIA GPUs";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user