Subject: [bug#28155] [PATCH 2/3] gnu: Add python-pyaes.

From: Carlo Zancanaro <[email-masked]>
Date: Sun, 20 Aug 2017 15:40:56 +1000

* 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 d85838d3c..8785d2d7c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -15864,3 +15864,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))
-- 
2.13.3