diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-05 12:49:20 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:35:55 +0100 |
| commit | 50bb215478614918fb28b1efbee88f79a3f3a1aa (patch) | |
| tree | 6a14778a90bee5de4963a24cec68147c25ce251d /gnu/packages/python-crypto.scm | |
| parent | 995071641bbb538173ae9b2181e45b174492aba7 (diff) | |
gnu: Add python-argon2-cffi-bindings.
* gnu/packages/python-crypto.scm (python-argon2-cffi-bindings): New variable.
Change-Id: I5e4e77ba3aba7b35352b556a514a46ff8b735af6
Diffstat (limited to 'gnu/packages/python-crypto.scm')
| -rw-r--r-- | gnu/packages/python-crypto.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index d5f9fa6c0f5..c35a9bc77b8 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 | |||
| 1618 | can decide how long it takes to hash a password and how much memory is required.") | 1618 | can decide how long it takes to hash a password and how much memory is required.") |
| 1619 | (license license:expat))) | 1619 | (license license:expat))) |
| 1620 | 1620 | ||
| 1621 | (define-public python-argon2-cffi-bindings | ||
| 1622 | (package | ||
| 1623 | (name "python-argon2-cffi-bindings") | ||
| 1624 | (version "25.1.0") | ||
| 1625 | (source | ||
| 1626 | (origin | ||
| 1627 | (method url-fetch) | ||
| 1628 | (uri (pypi-uri "argon2_cffi_bindings" version)) | ||
| 1629 | (sha256 | ||
| 1630 | (base32 "179256zsrh5c51zmv9k1sc9p102j152nzxqgwhhdhmadxbkg6mxr")))) | ||
| 1631 | (build-system pyproject-build-system) | ||
| 1632 | (arguments | ||
| 1633 | (list | ||
| 1634 | #:phases | ||
| 1635 | #~(modify-phases %standard-phases | ||
| 1636 | (add-before 'build 'use-system-argon2 | ||
| 1637 | (lambda _ | ||
| 1638 | (setenv "ARGON2_CFFI_USE_SYSTEM" "1")))))) | ||
| 1639 | (native-inputs | ||
| 1640 | (list python-pytest | ||
| 1641 | python-setuptools | ||
| 1642 | python-setuptools-scm)) | ||
| 1643 | (inputs | ||
| 1644 | (list argon2)) | ||
| 1645 | (propagated-inputs | ||
| 1646 | (list python-cffi)) | ||
| 1647 | (home-page "https://github.com/hynek/argon2-cffi-bindings") | ||
| 1648 | (synopsis "Low-level CFFI bindings for Argon2") | ||
| 1649 | (description | ||
| 1650 | "argon2-cffi-bindings provides low-level CFFI bindings to the official | ||
| 1651 | implementation of the Argon2 password hashing algorithm.") | ||
| 1652 | (license license:expat))) | ||
| 1653 | |||
| 1621 | (define-public python-privy | 1654 | (define-public python-privy |
| 1622 | (package | 1655 | (package |
| 1623 | (name "python-privy") | 1656 | (name "python-privy") |
