summaryrefslogtreecommitdiff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-10 00:15:28 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-28 12:06:20 +0000
commitb6b3e42f6cd4ef13f0681c7d57404070cd8412d8 (patch)
treeb5bec0a009afd4bc498df7c765afcd8b5de023d3 /gnu/packages/python-crypto.scm
parentcc698b801e858d16e4de8fb97b5ce3a4cb33977b (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.scm17
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.")
1769 (version "0.1.5") 1769 (version "0.1.5")
1770 (source 1770 (source
1771 (origin 1771 (origin
1772 (method url-fetch) 1772 (method git-fetch)
1773 (uri (pypi-uri "pyu2f" version)) 1773 (uri (git-reference
1774 (url "https://github.com/google/pyu2f/")
1775 (commit (string-append "v" version))))
1776 (file-name (git-file-name name version))
1774 (sha256 1777 (sha256
1775 (base32 "0srhzdbgdsqwpcw7awqm19yg3xbabqckfvrp8rbpvz2232hs7jm3")))) 1778 (base32 "1jlpplw7hlrh8bgmp37g18panij0p7ism6r4d981my4dc73lbwik"))))
1776 (build-system python-build-system) 1779 (build-system pyproject-build-system)
1777 (arguments '(#:tests? #f)) ;none included 1780 (arguments
1781 (list
1782 ;; This test requires the fakefs package.
1783 #:test-flags #~(list "--ignore=pyu2f/tests/hid/linux_test.py")))
1784 (native-inputs (list python-mock python-pytest python-setuptools))
1778 (propagated-inputs (list python-six)) 1785 (propagated-inputs (list python-six))
1779 (home-page "https://github.com/google/pyu2f/") 1786 (home-page "https://github.com/google/pyu2f/")
1780 (synopsis "U2F host library for interacting with a U2F device over USB") 1787 (synopsis "U2F host library for interacting with a U2F device over USB")