diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2017-12-24 03:00:20 +0100 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2017-12-25 23:42:48 +0100 |
commit | d0d5f7268805ea1a15ac8a74ce566731ff3209aa (patch) | |
tree | bbc7c592f7a3610f41b6cebecd4ac6fa65268199 /gnu | |
parent | 579b43625236d1d1cb0fc4872ce4fdd33cda1c4d (diff) | |
download | patches-d0d5f7268805ea1a15ac8a74ce566731ff3209aa.tar patches-d0d5f7268805ea1a15ac8a74ce566731ff3209aa.tar.gz |
gnu: Add python-ecpy.
* gnu/packages/python-crypto.scm (python-ecpy, python2-ecpy): New variables.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python-crypto.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 9a7b0c7d78..4f06d7e394 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -655,3 +655,26 @@ Certificate (DER encoded, PEM encoded), RSA PEM (encoded private key, public key), SSH public key, ASC-encoded OpenPGP key, APK Android application, LDIFF file, and more.") (license license:gpl3))) + +(define-public python-ecpy + (package + (name "python-ecpy") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ECPy" version)) + (sha256 + (base32 + "090fqnj8z0xm44jrfpll7j45r68m6kp7mjr7yxzg93j42h3sj285")))) + (build-system python-build-system) + (propagated-inputs + `(("python-future" ,python-future))) + (home-page "https://github.com/ubinity/ECPy") + (synopsis "Pure Python Elliptic Curve Library") + (description "This package provides a Elliptic Curve Library in pure +Python.") + (license license:asl2.0))) + +(define-public python2-ecpy + (package-with-python2 python-ecpy)) |