* gnu/packages/python.scm (python2-slowaes): New variable. --- gnu/packages/python.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 9afb2f0b1..eb238fc1e 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -12317,3 +12317,25 @@ Library (PIL) by default, to generate QR Codes.") (define-public python2-qrcode (package-with-python2 python-qrcode)) + +;; SlowAES isn't compatible with Python 3. +(define-public python2-slowaes + (package + (name "python-slowaes") + (version "0.1a1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "slowaes" version)) + (sha256 + (base32 + "02dzajm83a7lqgxf6r3hgj64wfmcxz8gs4nvgxpvj5n19kjqlrc3")))) + (build-system python-build-system) + (arguments `(#:python ,python-2)) + (propagated-inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "http://code.google.com/p/slowaes/") + (synopsis "Implementation of AES in Python") + (description "This module implements the AES encryption algorithm in +python.") + (license license:asl2.0))) -- 2.11.0