~ruther/guix-local

42360fd11fbbc55fabbf8a2310be28d4a86084f5 — Nicolas Graves 6 months ago aeb2454
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>
1 files changed, 15 insertions(+), 16 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +15 -16
@@ 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.

     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.")
    (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.")
    (license license:expat)))

(define-public python-qrcode