[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#31121] [PATCH 2/3] gnu: Add python-m2crypto, python2-m2crypto.

From: Tomáš Čech
Subject: [bug#31121] [PATCH 2/3] gnu: Add python-m2crypto, python2-m2crypto.
Date: Tue, 10 Apr 2018 11:29:34 +0200

 * gnu/packages/python.scm (python-m2crypto): New variable.
   (python2-m2crypto): New variable.
 gnu/packages/python.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e728cbaa9..d84aae1fb 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13148,3 +13148,39 @@ in Python.  You can simply type pybtex instead of 
 protocols access, supporting HTTP keepalive, reget, throttling and other
 convenience features.")
     (license license:lgpl2.1)))
+(define-public python-m2crypto
+  (package
+    (name "python-m2crypto")
+    (version "0.29.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "M2Crypto" version))
+       (sha256
+        (base32
+         "1h16gpilrnlzc0iyj1mnd1iqh8wchzjsxjqw9n344glimg2s5zm0"))))
+    (build-system python-build-system)
+    (inputs
+     `(("openssl" ,openssl)))
+    (propagated-inputs
+     `(("python-typing" ,python-typing)))
+    (home-page "";)
+    (synopsis "A Python crypto and SSL toolkit")
+    (description "A Python crypto and SSL toolkit.  M2 stands for \"me, too!\"
+.  M2Crypto comes with the following:
+RSA, DSA, DH, HMACs, message digests,
+symmetric ciphers including AES,
+TLS functionality to implement clients and servers.
+Example SSL client and server programs, which are variously
+threading, forking or based on non-blocking socket IO.
+HTTPS extensions to Python's httplib, urllib and xmlrpclib.
+Unforgeable HMAC'ing AuthCookies for web session management.
+FTP/TLS client and server.
+S/MIME v2.
+ZServerSSL: A HTTPS server for Zope.
+ZSmime: An S/MIME messenger for Zope.")
+    (license license:x11)))
+(define-public python2-m2crypto
+  (package-with-python2 python-m2crypto))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]