1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: python-fido2: Update to 2.0.0.

* gnu/packages/security-token.scm (python-fido2): Update to 2.0.0.
[source]: Switch to git-fetch.
[arguments]<#:test-flags>: Add --no-device.

Change-Id: I892d6471968551c553b5e45ab6b926646176d8d2
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves
2025-12-21 16:33:59 +01:00
committed by Sharlatan Hellseher
parent 06412fbe53
commit bc610da855

View File

@@ -796,22 +796,24 @@ your existing infrastructure.")
(define-public python-fido2
(package
(name "python-fido2")
(version "1.1.1")
(source (origin
(method url-fetch)
(uri
(string-append
"https://github.com/Yubico/python-fido2/releases/download/"
version "/fido2-" version ".tar.gz"))
(sha256
(base32
"1hwz0xagkmy6hhcyfl66dxf2vfa69lqqqjrv70vw7harik59bi2x"))
(snippet
;; Remove bundled dependency.
'(delete-file "fido2/public_suffix_list.dat"))))
(version "2.0.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Yubico/python-fido2")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "043ldwaxryndh6nwi0j4ysk6phzpkzdik8i15mmahnx3gl1qibif"))
(snippet
;; Remove bundled dependency.
'(delete-file "fido2/public_suffix_list.dat"))))
(build-system pyproject-build-system)
(arguments
(list
;; XXX: Tests timeout without this flag.
#:test-flags #~(list "--no-device")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'install-public-suffix-list