gnu: python-fido2: Update to 0.9.3.

* gnu/packages/security-token.scm (python-fido2): Update to 0.9.3.
[source]: Do not use gexp for snippet.
[arguments]: Disable tests; remove trailing #T from build phase.
This commit is contained in:
Ricardo Wurmus 2022-01-10 15:03:51 +01:00
parent a485e1e663
commit 03a08418fd
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -569,7 +569,7 @@ (define-public pam-u2f
(define-public python-fido2 (define-public python-fido2
(package (package
(name "python-fido2") (name "python-fido2")
(version "0.5.0") (version "0.9.3")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (uri
@ -578,13 +578,17 @@ (define-public python-fido2
version "/fido2-" version ".tar.gz")) version "/fido2-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1pl8d2pr6jzqj4y9qiaddhjgnl92kikjxy0bgzm2jshkzzic8mp3")) "1v366h449f8q74jkmy1291ffj2345nm7cdsipgqvgz4w22k8jpml"))
(snippet (snippet
;; Remove bundled dependency. ;; Remove bundled dependency.
#~(delete-file "fido2/public_suffix_list.dat")))) '(delete-file "fido2/public_suffix_list.dat"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
`(#:phases `(;; This attempts to access
;; /System/Library/Frameworks/IOKit.framework/IOKit
;; The recommendation is to use tox for testing.
#:tests? #false
#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'install-public-suffix-list (add-after 'unpack 'install-public-suffix-list
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
@ -594,8 +598,7 @@ (define-public python-fido2
"/share/public-suffix-list-" "/share/public-suffix-list-"
,(package-version public-suffix-list) ,(package-version public-suffix-list)
"/public_suffix_list.dat")) "/public_suffix_list.dat"))
"fido2/public_suffix_list.dat") "fido2/public_suffix_list.dat"))))))
#t)))))
(propagated-inputs (propagated-inputs
(list python-cryptography python-six)) (list python-cryptography python-six))
(native-inputs (native-inputs