Skip to content

Commit

Permalink
Merge pull request #219327 from aaronjheng/yubihsm-connector
Browse files Browse the repository at this point in the history
yubihsm-connector: 3.0.2 -> 3.0.4
  • Loading branch information
viraptor committed Mar 19, 2023
2 parents b58639c + c5a6d51 commit eefe9c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 124 deletions.
14 changes: 5 additions & 9 deletions pkgs/tools/security/yubihsm-connector/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,16 @@

buildGoModule rec {
pname = "yubihsm-connector";
version = "3.0.2";
version = "3.0.4";

src = fetchFromGitHub {
owner = "Yubico";
repo = "yubihsm-connector";
rev = version;
sha256 = "FQ64tSZN55QpXjMZITzlWOPTKSgnoCpkRngQUQHVavc=";
hash = "sha256-snoQZsmKQPcsB5EpZc4yon02QbxNU5B5TAwRPjs1O5I=";
};

vendorSha256 = "kVBzdJk/1LvjdUtLqHAw9ZxDfCo3mBWVMYG/nQXpDrk=";

patches = [
# Awaiting a new release to fix the upstream lockfile
# https://github.com/Yubico/yubihsm-connector/issues/36
./lockfile-fix.patch
];
vendorHash = "sha256-XW7rEHY3S+M3b6QjmINgrCak+BqCEV3PJP90jz7J47A=";

nativeBuildInputs = [
pkg-config
Expand All @@ -27,6 +21,8 @@ buildGoModule rec {
libusb1
];

ldflags = [ "-s" "-w" ];

preBuild = ''
go generate
'';
Expand Down
115 changes: 0 additions & 115 deletions pkgs/tools/security/yubihsm-connector/lockfile-fix.patch

This file was deleted.

0 comments on commit eefe9c8

Please sign in to comment.