mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
ssh-tpm-agent: 0.7.0 -> 0.8.0 (#394097)
This commit is contained in:
commit
69ea43926c
1 changed files with 16 additions and 4 deletions
|
@ -3,28 +3,40 @@
|
||||||
buildGoModule,
|
buildGoModule,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
nix-update-script,
|
nix-update-script,
|
||||||
|
openssh,
|
||||||
openssl,
|
openssl,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "ssh-tpm-agent";
|
pname = "ssh-tpm-agent";
|
||||||
version = "0.7.0";
|
version = "0.8.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Foxboron";
|
owner = "Foxboron";
|
||||||
repo = "ssh-tpm-agent";
|
repo = "ssh-tpm-agent";
|
||||||
rev = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-yK7G+wZIn+kJazKOFOs8EYlRWZkCQuT0qZfmdqbcOnM=";
|
hash = "sha256-CSxZctiQ/d4gzCUtfx9Oetb8s0XpHf3MPH/H0XaaVgg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
proxyVendor = true;
|
proxyVendor = true;
|
||||||
|
|
||||||
vendorHash = "sha256-njKyBfTG/QCPBBsj3Aom42cv2XqLv4YeS4DhwNQNaLA=";
|
vendorHash = "sha256-84ZB1B+RczJS08UToCWvvVfWrD62IQxy0XoBwn+wBkc=";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
openssl
|
openssl
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
openssh
|
||||||
|
];
|
||||||
|
|
||||||
|
# disable broken tests, see https://github.com/NixOS/nixpkgs/pull/394097
|
||||||
|
preCheck = ''
|
||||||
|
rm cmd/scripts_test.go
|
||||||
|
substituteInPlace internal/keyring/keyring_test.go --replace-fail ENOKEY ENOENT
|
||||||
|
substituteInPlace internal/keyring/threadkeyring_test.go --replace-fail ENOKEY ENOENT
|
||||||
|
'';
|
||||||
|
|
||||||
passthru.updateScript = nix-update-script { };
|
passthru.updateScript = nix-update-script { };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue