mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: python-pbkdf2: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-pbkdf2): [build-system]: Switch to pyproject-build-system. [arguments]: Replace <#:phases> with <#:test-backend, #:test-flags>. [native-inputs]: Add python-setuptools. [description]: Improve style. Change-Id: I82678c91cf5cd8633954546bfe660648dad64363 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
aeb2454a62
commit
42360fd11f
1 changed files with 14 additions and 15 deletions
|
|
@ -24200,25 +24200,24 @@ creating a tag.")
|
|||
(method url-fetch)
|
||||
(uri (pypi-uri "pbkdf2" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0yb99rl2mbsaamj571s1mf6vgniqh23v98k4632150hjkwv9fqxc"))))
|
||||
(build-system python-build-system)
|
||||
(base32 "0yb99rl2mbsaamj571s1mf6vgniqh23v98k4632150hjkwv9fqxc"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(invoke "python" "test/test_pbkdf2.py"))))))
|
||||
(list
|
||||
#:test-backend #~'custom
|
||||
#:test-flags #~(list "test/test_pbkdf2.py")))
|
||||
(native-inputs (list python-setuptools))
|
||||
(home-page "https://www.dlitz.net/software/python-pbkdf2/")
|
||||
(synopsis "Password-based key derivation")
|
||||
(description "This module implements the password-based key derivation
|
||||
function, PBKDF2, specified in RSA PKCS#5 v2.0.
|
||||
(description
|
||||
"This module implements the password-based key derivation function,
|
||||
PBKDF2, specified in RSA PKCS#5 v2.0.
|
||||
|
||||
PKCS#5 v2.0 Password-Based Key Derivation is a key derivation function which
|
||||
is part of the RSA Public Key Cryptography Standards series. The provided
|
||||
implementation takes a password or a passphrase and a salt value (and
|
||||
optionally a iteration count, a digest module, and a MAC module) and provides
|
||||
a file-like object from which an arbitrarily-sized key can be read.")
|
||||
PKCS#5 v2.0 Password-Based Key Derivation is a key derivation function which
|
||||
is part of the RSA Public Key Cryptography Standards series. The provided
|
||||
implementation takes a password or a passphrase and a salt value (and
|
||||
optionally a iteration count, a digest module, and a MAC module) and provides
|
||||
a file-like object from which an arbitrarily-sized key can be read.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-qrcode
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue