~ruther/guix-local

16df8904e187f9530f69af6ff36e8075394f15bf — Nicolas Graves 7 months ago db8c641
gnu: python-zxcvbn: Switch to pyproject.

* gnu/packages/python-crypto.scm (python-zxcvbn):
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.
[source, description]: Improve style.

Change-Id: Id8e5ced7a074af5c8518c34a1d584740fdc2cafe
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 16 insertions(+), 14 deletions(-)

M gnu/packages/python-crypto.scm
M gnu/packages/python-crypto.scm => gnu/packages/python-crypto.scm +16 -14
@@ 1760,22 1760,24 @@ speed but without C extensions.")
  (package
    (name "python-zxcvbn")
    (version "4.4.28")
    (source (origin
              (method git-fetch)        ;for tests
              (uri (git-reference
                    (url "https://github.com/dwolfhub/zxcvbn-python")
                    (commit (string-append "v" version))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0xzlsqc9h0llfy19w4m39jgfcnvzqviv8jhgwn3r75kip97i5mvs"))))
    (build-system python-build-system)
    (source
     (origin
       (method git-fetch) ;for tests
       (uri (git-reference
             (url "https://github.com/dwolfhub/zxcvbn-python")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0xzlsqc9h0llfy19w4m39jgfcnvzqviv8jhgwn3r75kip97i5mvs"))))
    (build-system pyproject-build-system)
    (native-inputs (list python-pytest python-setuptools python-wheel))
    (home-page "https://github.com/dwolfhub/zxcvbn-python")
    (synopsis "Realistic password strength estimator Python library")
    (description "This is a Python implementation of the @code{zxcvbn} library
created at Dropbox.  The original library, written for JavaScript, can be
found @url{https://github.com/dropbox/zxcvbn, here}.  This port includes
features such as:
    (description
     "This is a Python implementation of the @code{zxcvbn} library created at
Dropbox.  The original library, written for JavaScript, can be found
@url{https://github.com/dropbox/zxcvbn, here}.  This port includes features
such as:
@enumerate
@item Accepts user data to be added to the dictionaries that are tested
against (name, birthdate, etc.)