gnu: python-yubikey-manager: Update to 4.0.7.
* gnu/packages/security-token.scm (python-yubikey-manager): Update to 4.0.7. [arguments]: Remove build phase customization; disable tests. [inputs]: Remove yubikey-personalization and libusb.
parent
03a08418fd
commit
5b200dbfb0
|
@ -624,7 +624,7 @@ implementing a Relying Party.")
|
||||||
(define-public python-yubikey-manager
|
(define-public python-yubikey-manager
|
||||||
(package
|
(package
|
||||||
(name "python-yubikey-manager")
|
(name "python-yubikey-manager")
|
||||||
(version "2.1.0")
|
(version "4.0.7")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
|
@ -632,25 +632,13 @@ implementing a Relying Party.")
|
||||||
"/yubikey-manager-" version ".tar.gz"))
|
"/yubikey-manager-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"11rsmcaj60k3y5m5gdhr2nbbz0w5dm3m04klyxz0fh5hnpcmr7fm"))))
|
"0kzwal7i4kyywm4f5zh8b823mh0ih2nsh5c0c4dfn4vw3j5dnwlr"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:modules ((srfi srfi-1)
|
'(;; This attempts to access
|
||||||
(guix build utils)
|
;; /System/Library/Frameworks/IOKit.framework/IOKit
|
||||||
(guix build python-build-system))
|
;; The recommendation is to use tox for testing.
|
||||||
#:phases
|
#:tests? #false))
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'fix-libykpers-reference
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
(substitute* "ykman/driver_otp.py"
|
|
||||||
(("Ykpers\\('ykpers-1', '1'\\)")
|
|
||||||
(string-append
|
|
||||||
"Ykpers('"
|
|
||||||
(find (negate symbolic-link?)
|
|
||||||
(find-files (assoc-ref inputs "yubikey-personalization")
|
|
||||||
"^libykpers-.*\\.so\\..*"))
|
|
||||||
"')")))
|
|
||||||
#t)))))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-six
|
(list python-six
|
||||||
python-pyscard
|
python-pyscard
|
||||||
|
@ -660,7 +648,7 @@ implementing a Relying Party.")
|
||||||
python-pyopenssl
|
python-pyopenssl
|
||||||
python-fido2))
|
python-fido2))
|
||||||
(inputs
|
(inputs
|
||||||
(list yubikey-personalization pcsc-lite libusb))
|
(list pcsc-lite))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list swig python-mock))
|
(list swig python-mock))
|
||||||
(home-page "https://developers.yubico.com/yubikey-manager/")
|
(home-page "https://developers.yubico.com/yubikey-manager/")
|
||||||
|
|
Reference in New Issue