Subject: [bug#31241] [PATCH 07/13] gnu: Add python-pylibscrypt.

From: Nicolas Goaziou <[email-masked]>
Date: Mon, 23 Apr 2018 01:04:14 +0200

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

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index cfd7e7764..e8a209735 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -838,3 +838,26 @@ through the Engine interface.")
 
 (define-public python2-m2crypto
   (package-with-python2 python-m2crypto))
+
+(define-public python-pylibscrypt
+  (package
+    (name "python-pylibscrypt")
+    (version "1.7.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pylibscrypt" version))
+       (sha256
+        (base32
+         "1b3rgzl6dbzs08vhv41b6y4n5189wv7lr27acxn104hs45745abs"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f))                  ;FIXME: unable to load libsodium
+    (native-inputs
+     `(("libsodium" ,libsodium)
+       ("python-hypothesis" ,python-hypothesis)
+       ("scrypt" ,scrypt)))
+    (home-page "https://github.com/jvarho/pylibscrypt")
+    (synopsis "Scrypt for Python")
+    (description "Scrypt for Python")
+    (license license:isc)))
-- 
2.17.0