[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 22/31] gnu: Add python-pycrypto.
From: |
David Thompson |
Subject: |
[PATCH 22/31] gnu: Add python-pycrypto. |
Date: |
Fri, 5 Sep 2014 11:18:28 -0400 |
* 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
- [PATCH 16/31] gnu: Add python-testresources., (continued)
- [PATCH 16/31] gnu: Add python-testresources., David Thompson, 2014/09/05
- [PATCH 17/31] gnu: Add python-subunit., David Thompson, 2014/09/05
- [PATCH 18/31] gnu: Add python-fixtures., David Thompson, 2014/09/05
- [PATCH 19/31] gnu: Add python-testrepository., David Thompson, 2014/09/05
- [PATCH 21/31] gnu: Add python-pyjwt., David Thompson, 2014/09/05
- [PATCH 22/31] gnu: Add python-pycrypto.,
David Thompson <=
- [PATCH 23/31] gnu: Add python-oauthlib., David Thompson, 2014/09/05
- [PATCH 24/31] gnu: Add python-itsdangerous., David Thompson, 2014/09/05
- [PATCH 25/31] gnu: Add python-virtualenv., David Thompson, 2014/09/05
- [PATCH 26/31] gnu: Add python-pip., David Thompson, 2014/09/05