mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
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 New Issue
Block a user