mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
eks-node-viewer: add version test
This commit is contained in:
parent
451d527a2b
commit
271a8420c7
@ -1,4 +1,4 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub, testers, eks-node-viewer }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "eks-node-viewer";
|
||||
@ -21,6 +21,12 @@ buildGoModule rec {
|
||||
"-X=main.version=${version}"
|
||||
];
|
||||
|
||||
passthru.tests = {
|
||||
version = testers.testVersion {
|
||||
package = eks-node-viewer;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to visualize dynamic node usage within a cluster";
|
||||
homepage = "https://github.com/awslabs/eks-node-viewer";
|
||||
|
Loading…
Reference in New Issue
Block a user