yubico-piv-tool: 2.2.1 -> 2.3.0

This commit is contained in:
Anthony Roussel 2022-09-07 00:29:07 +02:00
parent accf3b38d5
commit b7cc776e4f
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E

View File

@ -4,13 +4,17 @@
stdenv.mkDerivation rec {
pname = "yubico-piv-tool";
version = "2.2.1";
version = "2.3.0";
src = fetchurl {
url = "https://developers.yubico.com/yubico-piv-tool/Releases/yubico-piv-tool-${version}.tar.gz";
sha256 = "sha256-t+3k3cPW4x3mey4t3NMZsitAzC4Jc7mGbQUqdUSTsU4=";
hash = "sha256-oCoS2VRdHvehuZhgbYm3tlWl9aFDdzbPUdsIP4dvVak=";
};
postPatch = ''
substituteInPlace CMakeLists.txt --replace "-Werror" ""
'';
nativeBuildInputs = [ pkg-config cmake gengetopt ];
buildInputs = [ openssl check ]
++ (if withApplePCSC then [ PCSC ] else [ pcsclite ]);