diff options
author | Steve George <steve@futurile.net> | 2025-04-08 10:39:56 +0100 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-04-16 11:46:31 +0200 |
commit | 7de2ae6945ad7860f9b46c522b945c965bd58cbe (patch) | |
tree | 2fe01b53f6d3fa2aef27819a2f7325fe2f0a1ee4 | |
parent | a133331ee82be1ae4024bd1df8d75bfc962ef8cb (diff) | |
download | guix-7de2ae6945ad7860f9b46c522b945c965bd58cbe.tar.gz guix-7de2ae6945ad7860f9b46c522b945c965bd58cbe.zip |
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
-rw-r--r-- | gnu/packages/finance.scm | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index b3298a8e8c..2f9ac2f59b 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -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 |