mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: python-u2flib-host: Fix build.
* gnu/packages/finance.scm (python-u2flib-host): Fix build.
[build-system]: Switch to pyproject.
[native-inputs]: Add python-setuptools, python-pytest, python-wheel.
[arguments]{test-flags}: filter out broken tests.
Change-Id: I05d70f064f6968c1e0990dc4e0c106452feefbec
This commit is contained in:
committed by
Andreas Enge
parent
a133331ee8
commit
7de2ae6945
@@ -1039,15 +1039,23 @@ of Bitcoin BIP-0039.")
|
||||
(package
|
||||
(name "python-u2flib-host")
|
||||
(version "3.0.3")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "python-u2flib-host" version))
|
||||
(sha256
|
||||
(base32
|
||||
"02pwafd5kyjpc310ys0pgnd0adff1laz18naxxwsfrllqafqnrxb"))))
|
||||
(build-system python-build-system)
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "python-u2flib-host" version))
|
||||
(sha256
|
||||
(base32 "02pwafd5kyjpc310ys0pgnd0adff1laz18naxxwsfrllqafqnrxb"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
#~(list
|
||||
"--deselect=test/test_soft.py::TestSoftU2FDevice::test_registeration"
|
||||
"--deselect=test/test_reg_auth.py::TestRegister::test_register" "-k"
|
||||
"not test_forget")))
|
||||
(propagated-inputs (list python-hidapi python-requests))
|
||||
(native-inputs (list python-cryptography))
|
||||
(native-inputs (list python-cryptography python-pytest python-setuptools
|
||||
python-wheel))
|
||||
(home-page "https://github.com/Yubico/python-u2flib-host")
|
||||
(synopsis "Python based U2F host library")
|
||||
(description
|
||||
|
||||
Reference in New Issue
Block a user