summaryrefslogtreecommitdiff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-08-26 01:50:51 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-03 08:01:07 +0100
commit16df8904e187f9530f69af6ff36e8075394f15bf (patch)
treec92c82fc0969d708cac6fc601177407438fe1f80 /gnu/packages/python-crypto.scm
parentdb8c641876a96582f359394d5456279e9d8d5d9a (diff)
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>
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r--gnu/packages/python-crypto.scm30
1 files changed, 16 insertions, 14 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index abc8a729f16..1003d86fc46 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -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.)