summary refs log tree commit diff
path: root/gnu/packages/security-token.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-04-27 20:54:47 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-04-27 20:55:25 +0200
commit688d99282b2e4db61de6a58df903378a6b34810f (patch)
treec7583744254d4ea4188593bc40bb90fb9e1c09e9 /gnu/packages/security-token.scm
parentd59b4764f3171b1430a6d3b954659b8aab730475 (diff)
downloadguix-688d99282b2e4db61de6a58df903378a6b34810f.tar.gz
gnu: yubico-piv-tool: Update to 2.3.1.
* gnu/packages/security-token.scm (yubico-piv-tool): Update to 2.3.1.
[source]: Fetch from Github repository.
[build-system]: Use cmake-build-system.
Diffstat (limited to 'gnu/packages/security-token.scm')
-rw-r--r--gnu/packages/security-token.scm17
1 files changed, 9 insertions, 8 deletions
diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index 253e67d0c5..b51d67427a 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2016 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
 ;;; Copyright © 2017–2021 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2017, 2019 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2017, 2019, 2023 Ricardo Wurmus <rekado@elephly.net>
 ;;; Copyright © 2018, 2019 Chris Marusich <cmmarusich@gmail.com>
 ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2020 Raphaël Mélotte <raphael.melotte@mind.be>
@@ -389,16 +389,17 @@ authentication, encryption and digital signatures.  OpenSC implements the PKCS
 (define-public yubico-piv-tool
   (package
     (name "yubico-piv-tool")
-    (version "1.6.1")
+    (version "2.3.1")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://developers.yubico.com/yubico-piv-tool/Releases/"
-                    name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/Yubico/yubico-piv-tool/")
+                    (commit (string-append name "-" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "10xgdc51xvszkxmsvqnbjs8ixxz7rfnfahh3wn8glllynmszbhwi"))))
-    (build-system gnu-build-system)
+                "0gxrn2yzs907h22233s2337j5zb8mvygvk0z2macl4rf8w6qf4vk"))))
+    (build-system cmake-build-system)
     (inputs
      (list gengetopt perl pcsc-lite openssl))
     (native-inputs