diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-21 16:33:59 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-28 14:38:57 +0000 |
| commit | bc610da8554826dd31f8ddee54366fa4ac8e70c7 (patch) | |
| tree | c08cc21232e12b6dcf870721345fdf9bc648a8d3 | |
| parent | 06412fbe5367ed412816d8fa30d7b8b593a9616d (diff) | |
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>
| -rw-r--r-- | gnu/packages/security-token.scm | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm index afd23603a9..c81ace0019 100644 --- a/gnu/packages/security-token.scm +++ b/gnu/packages/security-token.scm @@ -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 |
