From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlo Zancanaro Subject: [PATCH 3/4] gnu: Add python2-slowaes Date: Sat, 21 Jan 2017 15:36:03 +1100 Message-ID: <20170121043603.5682-1-carlo@zancanaro.id.au> References: <20170102133238.17811-4-carlo@zancanaro.id.au> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUnPS-0003yx-Mo for guix-devel@gnu.org; Fri, 20 Jan 2017 23:36:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUnPP-0006NA-Kb for guix-devel@gnu.org; Fri, 20 Jan 2017 23:36:14 -0500 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]:34648) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cUnPP-0006N4-FE for guix-devel@gnu.org; Fri, 20 Jan 2017 23:36:11 -0500 Received: by mail-pg0-x244.google.com with SMTP id t6so8422617pgt.1 for ; Fri, 20 Jan 2017 20:36:11 -0800 (PST) Received: from localhost.localdomain (14-200-183-160.static.tpgi.com.au. [14.200.183.160]) by smtp.gmail.com with ESMTPSA id q19sm20278301pfl.21.2017.01.20.20.36.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Jan 2017 20:36:09 -0800 (PST) In-Reply-To: <20170102133238.17811-4-carlo@zancanaro.id.au> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/python.scm (python2-slowaes): New variable. --- gnu/packages/python.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 0ee1b6ef8..ad62c25e8 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -12516,3 +12516,24 @@ console.") (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)) + (home-page "http://code.google.com/p/slowaes/") + (synopsis "Implementation of AES in Python") + (description "This package contains an implementation of AES in Python. +This implementation is slow (hence the project name) but still useful when +faster ones are not available.") + (license license:asl2.0))) -- 2.11.0