summary refs log tree commit diff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2018-05-16 15:22:28 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2018-07-02 17:50:20 +0200
commit1fa1d822fa7042087f096375088629ccd4b48e9f (patch)
tree89e5a11cd054e376e98b03a7f7a87c16f231db04 /gnu/packages/python-crypto.scm
parent2cde6e1de3e96648363303a0011feb584c472e19 (diff)
downloadguix-1fa1d822fa7042087f096375088629ccd4b48e9f.tar.gz
gnu: Add python-scrypt.
* gnu/packages/python-crypto.scm (python-scrypt): New variable.
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r--gnu/packages/python-crypto.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 50e7d25c8b..1d1e495d9f 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -972,3 +972,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)))