File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed
pkgs/by-name/ss/ssh-tpm-agent Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change 33 buildGoModule ,
44 fetchFromGitHub ,
55 nix-update-script ,
6+ openssh ,
67 openssl ,
78} :
89
910buildGoModule 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 ; {
You can’t perform that action at this time.
0 commit comments