gnu: Add python-pylibscrypt.

* gnu/packages/python-crypto.scm (python-pylibscrypt): New variable.
This commit is contained in:
Nicolas Goaziou 2018-04-23 00:14:06 +02:00
parent cef6dc646e
commit c158d47627
No known key found for this signature in database
GPG Key ID: A834B9E080A93738
1 changed files with 23 additions and 0 deletions

View File

@ -841,3 +841,26 @@ through the Engine interface.")
(define-public python2-m2crypto (define-public python2-m2crypto
(package-with-python2 python-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 find libraries
(inputs
`(("openssl" ,openssl)))
(home-page "https://github.com/jvarho/pylibscrypt")
(synopsis "Scrypt for Python")
(description "There are a lot of different scrypt modules for Python, but
none of them have everything that I'd like, so here's one more. It uses
hashlib.scrypt on Python 3.6 and OpenSSL 1.1.")
(license license:isc)))