ttop: add version test
This commit is contained in:
parent
85159d323a
commit
e953f0b02e
|
@ -1,4 +1,4 @@
|
|||
{ lib, nimPackages, fetchFromGitHub }:
|
||||
{ lib, nimPackages, fetchFromGitHub, testers }:
|
||||
|
||||
nimPackages.buildNimPackage (finalAttrs: {
|
||||
pname = "ttop";
|
||||
|
@ -18,6 +18,12 @@ nimPackages.buildNimPackage (finalAttrs: {
|
|||
"-d:NimblePkgVersion=${finalAttrs.version}"
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion {
|
||||
package = finalAttrs.finalPackage;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib;
|
||||
finalAttrs.src.meta // {
|
||||
description = "Top-like system monitoring tool";
|
||||
|
|
Loading…
Reference in a new issue