diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-10 00:15:28 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-28 12:06:20 +0000 |
| commit | b6b3e42f6cd4ef13f0681c7d57404070cd8412d8 (patch) | |
| tree | b5bec0a009afd4bc498df7c765afcd8b5de023d3 /gnu/packages/python-crypto.scm | |
| parent | cc698b801e858d16e4de8fb97b5ce3a4cb33977b (diff) | |
gnu: python-pyu2f: Switch to pyproject.
* gnu/packages/python-crypto.scm (python-pyu2f):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:test-flags>: Ignore failing tests.
[native-inputs]: Add python-setuptools.
Change-Id: If39d41b0d6a0e515bd7030e1ab2156797f287956
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-crypto.scm')
| -rw-r--r-- | gnu/packages/python-crypto.scm | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index f6decb0622d..3529847ede7 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -1769,12 +1769,19 @@ can also encrypt and decrypt messages using RSA and ECDH.") (version "0.1.5") (source (origin - (method url-fetch) - (uri (pypi-uri "pyu2f" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/pyu2f/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "0srhzdbgdsqwpcw7awqm19yg3xbabqckfvrp8rbpvz2232hs7jm3")))) - (build-system python-build-system) - (arguments '(#:tests? #f)) ;none included + (base32 "1jlpplw7hlrh8bgmp37g18panij0p7ism6r4d981my4dc73lbwik")))) + (build-system pyproject-build-system) + (arguments + (list + ;; This test requires the fakefs package. + #:test-flags #~(list "--ignore=pyu2f/tests/hid/linux_test.py"))) + (native-inputs (list python-mock python-pytest python-setuptools)) (propagated-inputs (list python-six)) (home-page "https://github.com/google/pyu2f/") (synopsis "U2F host library for interacting with a U2F device over USB") |
