From b7cc776e4f5c33450d30fa4a97319ec984d0dabc Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Wed, 7 Sep 2022 00:29:07 +0200 Subject: [PATCH] yubico-piv-tool: 2.2.1 -> 2.3.0 --- pkgs/tools/misc/yubico-piv-tool/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/yubico-piv-tool/default.nix b/pkgs/tools/misc/yubico-piv-tool/default.nix index 187782fd406a..08aee151823a 100644 --- a/pkgs/tools/misc/yubico-piv-tool/default.nix +++ b/pkgs/tools/misc/yubico-piv-tool/default.nix @@ -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 ]);