Skip to content

Commit 69ea439

Browse files
ssh-tpm-agent: 0.7.0 -> 0.8.0 (#394097)
2 parents 6701894 + 1196370 commit 69ea439

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

pkgs/by-name/ss/ssh-tpm-agent/package.nix

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,40 @@
33
buildGoModule,
44
fetchFromGitHub,
55
nix-update-script,
6+
openssh,
67
openssl,
78
}:
89

910
buildGoModule rec {
1011
pname = "ssh-tpm-agent";
11-
version = "0.7.0";
12+
version = "0.8.0";
1213

1314
src = fetchFromGitHub {
1415
owner = "Foxboron";
1516
repo = "ssh-tpm-agent";
16-
rev = "v${version}";
17-
hash = "sha256-yK7G+wZIn+kJazKOFOs8EYlRWZkCQuT0qZfmdqbcOnM=";
17+
tag = "v${version}";
18+
hash = "sha256-CSxZctiQ/d4gzCUtfx9Oetb8s0XpHf3MPH/H0XaaVgg=";
1819
};
1920

2021
proxyVendor = true;
2122

22-
vendorHash = "sha256-njKyBfTG/QCPBBsj3Aom42cv2XqLv4YeS4DhwNQNaLA=";
23+
vendorHash = "sha256-84ZB1B+RczJS08UToCWvvVfWrD62IQxy0XoBwn+wBkc=";
2324

2425
buildInputs = [
2526
openssl
2627
];
2728

29+
nativeCheckInputs = [
30+
openssh
31+
];
32+
33+
# disable broken tests, see https://github.com/NixOS/nixpkgs/pull/394097
34+
preCheck = ''
35+
rm cmd/scripts_test.go
36+
substituteInPlace internal/keyring/keyring_test.go --replace-fail ENOKEY ENOENT
37+
substituteInPlace internal/keyring/threadkeyring_test.go --replace-fail ENOKEY ENOENT
38+
'';
39+
2840
passthru.updateScript = nix-update-script { };
2941

3042
meta = with lib; {

0 commit comments

Comments
 (0)