From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 22/31] gnu: Add python-pycrypto. Date: Fri, 5 Sep 2014 11:18:28 -0400 Message-ID: <1409930317-13220-22-git-send-email-dthompson2@worcester.edu> References: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvIH-0001XL-Qz for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPvIB-0003j8-5V for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:21 -0400 Received: from na3sys009aog138.obsmtp.com ([74.125.149.19]:56792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPvIA-0003ip-Ur for guix-devel@gnu.org; Fri, 05 Sep 2014 11:19:15 -0400 Received: by mail-yk0-f181.google.com with SMTP id 131so7069112ykp.26 for ; Fri, 05 Sep 2014 08:19:12 -0700 (PDT) In-Reply-To: <1409930317-13220-1-git-send-email-dthompson2@worcester.edu> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/python.scm (python-pycrypto, python2-pycrypto): New variables. --- gnu/packages/python.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 2e16838..886dc03 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1598,3 +1598,35 @@ somewhat intelligeble.") (define-public python2-pyjwt (package-with-python2 python-pyjwt)) +(define-public python-pycrypto + (package + (name "python-pycrypto") + (version "2.6.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/p/pycrypto/pycrypto-" + version ".tar.gz")) + (sha256 + (base32 + "0g0ayql5b9mkjam8hym6zyg6bv77lbh66rv1fyvgqb17kfc1xkpj")))) + (build-system python-build-system) + (inputs + `(("python" ,python) ;; need libpython3.3m + ("python-setuptools" ,python-setuptools) + ("gmp" ,gmp))) + (arguments + '(#:phases (alist-cons-before + 'build 'set-config-shell + (lambda _ + (setenv "CONFIG_SHELL" (which "sh"))) + %standard-phases))) + (home-page "http://www.pycrypto.org/") + (synopsis "Cryptographic modules for Python.") + (description "Cryptographic modules for Python.") + (license public-domain))) + +(define-public python2-pycrypto + (package-with-python2 python-pycrypto)) + -- 2.0.1