Subject: [bug#31980] [PATCH 2/3] gnu: Add python-scrypt.

From: Nicolas Goaziou <[email-masked]>
Date: Tue, 26 Jun 2018 19:21:06 +0200

* gnu/packages/python-crypto.scm (python-scrypt): New variable.
---
 gnu/packages/python-crypto.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index e29eaea80..14e20d1e4 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -945,3 +945,23 @@ main features are:
 @item Duniter signing key
 @end itemize")
     (license license:gpl3+)))
+
+(define-public python-scrypt
+  (package
+    (name "python-scrypt")
+    (version "0.8.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "scrypt" version))
+       (sha256
+        (base32
+         "0b9nw10hfdl0jflm3b62q485ssc3f3f33lpg4yy407gs8wnrn8zq"))))
+    (build-system python-build-system)
+    (inputs
+     `(("openssl" ,openssl)))
+    (home-page "http://bitbucket.org/mhallin/py-scrypt")
+    (synopsis "Bindings for the scrypt key derivation function library")
+    (description "This is a set of Python bindings for the scrypt key
+derivation function.")
+    (license license:bsd-2)))
-- 
2.18.0