diff options
Diffstat (limited to 'pkgs/applications/networking/shellhub-agent')
-rw-r--r-- | pkgs/applications/networking/shellhub-agent/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/applications/networking/shellhub-agent/default.nix b/pkgs/applications/networking/shellhub-agent/default.nix index 90dca7c9f7164..3e3a5eee5f89a 100644 --- a/pkgs/applications/networking/shellhub-agent/default.nix +++ b/pkgs/applications/networking/shellhub-agent/default.nix @@ -5,6 +5,8 @@ , makeWrapper , openssh , libxcrypt +, testers +, shellhub-agent }: buildGo120Module rec { @@ -29,6 +31,12 @@ buildGo120Module rec { rev-prefix = "v"; ignoredVersions = ".(rc|beta).*"; }; + + tests.version = testers.testVersion { + package = shellhub-agent; + command = "agent --version"; + version = "v${version}"; + }; }; nativeBuildInputs = [ makeWrapper ]; |