Unverified Commit 9de9ad94 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

tkey-ssh-agent: add updateScript and testVersion (#336939)

parents 50b81c67 9a9bc426
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
{ lib, fetchFromGitHub, buildGoModule }:
{ lib, fetchFromGitHub, buildGoModule, gitUpdater, testers, tkey-ssh-agent }:

buildGoModule rec {
  pname = "tkey-ssh-agent";
@@ -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/";