Skip to content

Commit

Permalink
tkey-ssh-agent: add updateScript and testVersion (NixOS#336939)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksanaa authored Oct 31, 2024
2 parents 50b81c6 + 9a9bc42 commit 9de9ad9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion 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 }:
{ lib, fetchFromGitHub, buildGoModule, gitUpdater, testers, tkey-ssh-agent }:

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

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";
homepage = "https://tillitis.se/app/tkey-ssh-agent/";
Expand Down

0 comments on commit 9de9ad9

Please sign in to comment.