guix_mirror_bot pushed a commit to branch python-team in repository guix. commit 325cad519ea0f392e3e7eec9dd36ab0598bad4db Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Tue Aug 5 12:49:20 2025 +0100
gnu: Add python-argon2-cffi-bindings. * gnu/packages/python-crypto.scm (python-argon2-cffi-bindings): New variable. Change-Id: I5e4e77ba3aba7b35352b556a514a46ff8b735af6 --- gnu/packages/python-crypto.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index ba0ca2d647..6ce59e5317 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -1618,6 +1618,39 @@ both a configurable runtime as well as memory consumption. This means that you can decide how long it takes to hash a password and how much memory is required.") (license license:expat))) +(define-public python-argon2-cffi-bindings + (package + (name "python-argon2-cffi-bindings") + (version "25.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "argon2_cffi_bindings" version)) + (sha256 + (base32 "179256zsrh5c51zmv9k1sc9p102j152nzxqgwhhdhmadxbkg6mxr")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'use-system-argon2 + (lambda _ + (setenv "ARGON2_CFFI_USE_SYSTEM" "1")))))) + (native-inputs + (list python-pytest + python-setuptools + python-setuptools-scm)) + (inputs + (list argon2)) + (propagated-inputs + (list python-cffi)) + (home-page "https://github.com/hynek/argon2-cffi-bindings") + (synopsis "Low-level CFFI bindings for Argon2") + (description + "argon2-cffi-bindings provides low-level CFFI bindings to the official +implementation of the Argon2 password hashing algorithm.") + (license license:expat))) + (define-public python-privy (package (name "python-privy")