From 7a276cd94501c7159a63625e7e9188a05b0709da Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Sun, 20 Aug 2017 15:40:56 +1000 Subject: [PATCH] gnu: Add python-pyaes. * gnu/packages/python.scm (python-pyaes, python2-pyaes): New variables. --- gnu/packages/python.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index dfc1b00906..e8018b422d 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -15987,3 +15987,25 @@ version of @code{SocksiPy} with bug fixes and extra features.") (define-public python2-pysocks (package-with-python2 python-pysocks)) + +(define-public python-pyaes + (package + (name "python-pyaes") + (version "1.6.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyaes" version)) + (sha256 + (base32 + "0bp9bjqy1n6ij1zb86wz9lqa1dhla8qr1d7w2kxyn7jbj56sbmcw")))) + (build-system python-build-system) + (home-page "https://github.com/ricmoo/pyaes") + (synopsis "Implementation of AES in Python") + (description "This package contains a pure-Python implementation of the +AES block cipher algorithm and the common modes of operation (CBC, CFB, CTR, +ECB and OFB).") + (license license:expat))) + +(define-public python2-pyaes + (package-with-python2 python-pyaes))