summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-08-05 12:49:21 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:35:56 +0100
commitc2e9f2701c057da1844b93107ab8aec48ab03e94 (patch)
treed2a774072b34778109153015961bb60d476e594c
parent50bb215478614918fb28b1efbee88f79a3f3a1aa (diff)
gnu: python-argon2-cffi: Update to 25.1.0.
* gnu/packages/python-crypto.scm (python-argon2-cffi): Update to 25.1.0. [source] <snippet>: No longer required. [build-system]: Use pyproject. [arguments] <phases>: Use default 'build and 'check. [inputs]: Remove argon2. [propagated-inputs]: Remove python-cffi and python-typing-extensions; add python-argon2-cffi-bindings. [native-inputs]: Remove python-hypothesis; add python-hatch-fancy-pypi-readme, python-hatch-vcs, and python-hatchling. Change-Id: Ia9f544acbfa2e915afd73b6ed24516be18dd1803
-rw-r--r--gnu/packages/python-crypto.scm42
1 files changed, 12 insertions, 30 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index c35a9bc77b..bcefc93899 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -1577,39 +1577,21 @@ I/O-free core, and integration modules for different event loops.")
(define-public python-argon2-cffi
(package
(name "python-argon2-cffi")
- (version "21.1.0")
+ (version "25.1.0")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "argon2-cffi" version))
- (sha256
- (base32
- "0w5q5cdwmzpjgw3bl9f6b9a5xai87qvx3jryra9gd8fi0c8vc47p"))
- (modules '((guix build utils)))
- (snippet '(delete-file-recursively "extras"))))
- ;; TODO: with pyproject-build-system the install phase fails.
- (build-system python-build-system)
- (arguments
- (list
- #:phases
- '(modify-phases %standard-phases
- (replace 'build
- (lambda _
- (setenv "ARGON2_CFFI_USE_SYSTEM" "1")
- (invoke "python" "setup.py" "build")))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest")
- (invoke "python" "-m" "argon2" "--help")
- ;; see tox.ini
- (invoke "python" "-m" "argon2" "-n" "1" "-t" "1" "-m" "8" "-p" "1")))))))
- (propagated-inputs
- (list python-cffi python-typing-extensions))
- (inputs (list argon2))
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "argon2_cffi" version))
+ (sha256
+ (base32 "1ha62fg9blw38q3qayjid8608fp2a57fd81cpzic9x22ib6fajk9"))))
+ (build-system pyproject-build-system)
(native-inputs
- (list python-hypothesis
+ (list python-hatch-fancy-pypi-readme
+ python-hatch-vcs
+ python-hatchling
python-pytest))
+ (propagated-inputs
+ (list python-argon2-cffi-bindings))
(home-page "https://argon2-cffi.readthedocs.io/")
(synopsis "Secure Password Hashes for Python")
(description