guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#42297] [PATCH 07/10] gnu: Add python-zxcvbn.


From: Alexandru-Sergiu Marton
Subject: [bug#42297] [PATCH 07/10] gnu: Add python-zxcvbn.
Date: Thu, 9 Jul 2020 22:19:15 +0300

* gnu/packages/python-xyz.scm (python-zxcvbn): New variable.
---
 gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b3dddc57c1..e6a11182a1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20582,3 +20582,33 @@ diff data.")
 of emails that are part of the same thread and it'll build a tree of
 responses to the original message.")
     (license license:expat)))
+
+(define-public python-zxcvbn
+  (package
+    (name "python-zxcvbn")
+    (version "4.4.28")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "zxcvbn" version))
+       (sha256
+        (base32
+         "1hbxxxsylwv8zghkpji06gm3flgq8hsv2m63cj85wr3yh4bdh6qm"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page
+     "https://github.com/dwolfhub/zxcvbn-python";)
+    (synopsis "Realistic password strenght estimator")
+    (description
+     "Zxcvbn is realistic password strength estimator.  Some of its
+features are:
+@enumerate
+@item Accepts user data to be added to the dictionaries that are tested
+      against (name, birthdate, etc)
+@item Gives a score to the password, from 0 (terrible) to 4 (great)
+@item Provides feedback on the password and ways to improve it
+@item Returns time estimates on how long it would take to guess the
+      password in different situations
+@end enumerate\n")
+    (license license:expat)))
-- 
2.27.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]