Skip to content

Commit

Permalink
tkey-ssh-agent: add testVersion test
Browse files Browse the repository at this point in the history
  • Loading branch information
bbigras committed Aug 24, 2024
1 parent cec81c6 commit 9a9bc42
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pkgs/by-name/tk/tkey-ssh-agent/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildGoModule, gitUpdater }:
{ lib, fetchFromGitHub, buildGoModule, gitUpdater, testers, tkey-ssh-agent }:

buildGoModule rec {
pname = "tkey-ssh-agent";
Expand All @@ -17,7 +17,14 @@ buildGoModule rec {
"cmd/tkey-ssh-agent"
];

passthru.updateScript = gitUpdater { rev-prefix = "v"; };
passthru = {
updateScript = gitUpdater { rev-prefix = "v"; };
tests = {
tkey-ssh-agent-version = testers.testVersion {
package = tkey-ssh-agent;
};
};
};

meta = with lib; {
description = "SSH Agent for TKey, the flexible open hardware/software USB security key";
Expand Down

0 comments on commit 9a9bc42

Please sign in to comment.