Merge pull request #131844 from LeSuisse/yubikey-agent-0.1.5

yubikey-agent: 0.1.4 -> 0.1.5

authored by

Pavol Rusnak and committed by
GitHub
65bff33a fcc1017b

+4 -8
+4 -8
pkgs/tools/security/yubikey-agent/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, buildGoModule, libnotify, makeWrapper, pcsclite, pinentry_mac, pkg-config, darwin }: 1 + { stdenv, lib, fetchFromGitHub, buildGoModule, libnotify, makeWrapper, pcsclite, pkg-config, darwin }: 2 2 3 3 buildGoModule rec { 4 4 pname = "yubikey-agent"; 5 - version = "0.1.4"; 5 + version = "0.1.5"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "FiloSottile"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "1b4522s7xkh6q74m0lprbnzg2hspg1pr9rzn94qmd06sry82d3fd"; 11 + sha256 = "14s61jgcmpqh70jz0krrai8xg0xqhwmillxkij50vbsagpxjssk6"; 12 12 }; 13 13 14 14 buildInputs = ··· 27 27 28 28 subPackages = [ "." ]; 29 29 30 - # On macOS, there isn't a choice of pinentry program, so let's 31 - # ensure the nixpkgs-provided one is available 32 - postInstall = lib.optionalString stdenv.isDarwin '' 33 - wrapProgram $out/bin/yubikey-agent --suffix PATH : $(dirname ${pinentry_mac}/${pinentry_mac.binaryPath}) 34 - '' + lib.optionalString stdenv.isLinux '' 30 + postInstall = lib.optionalString stdenv.isLinux '' 35 31 mkdir -p $out/lib/systemd/user 36 32 substitute contrib/systemd/user/yubikey-agent.service $out/lib/systemd/user/yubikey-agent.service \ 37 33 --replace 'ExecStart=yubikey-agent' "ExecStart=$out/bin/yubikey-agent"