about summary refs log tree commit diff
path: root/pkgs/tools/misc/yubico-piv-tool
diff options
context:
space:
mode:
authorAnthony Roussel <anthony@roussel.dev>2022-09-07 00:29:07 +0200
committerAnthony Roussel <anthony@roussel.dev>2022-09-10 22:30:56 +0200
commitb7cc776e4f5c33450d30fa4a97319ec984d0dabc (patch)
tree2a3ff9104b72fa5b3de251f3df881a7cdcecce6f /pkgs/tools/misc/yubico-piv-tool
parentaccf3b38d5e8f0745ed79f643a78a3f7b6ebb25e (diff)
yubico-piv-tool: 2.2.1 -> 2.3.0
Diffstat (limited to 'pkgs/tools/misc/yubico-piv-tool')
-rw-r--r--pkgs/tools/misc/yubico-piv-tool/default.nix8
1 files 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 187782fd406a1..08aee151823a0 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 ]);