all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Tomáš Čech" <sleep_walker@gnu.org>
To: 31121@debbugs.gnu.org
Subject: [bug#31121] [PATCH 2/3] gnu: Add python-m2crypto, python2-m2crypto.
Date: Tue, 17 Apr 2018 23:39:50 +0200	[thread overview]
Message-ID: <20180417213950.30996-1-sleep_walker@gnu.org> (raw)
In-Reply-To: <87sh7udd03.fsf@fastmail.com>

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

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 5bfaab171..1ef6371ee 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -15,6 +15,7 @@
 ;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
 ;;; Copyright © 2016, 2017 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2017 Carlo Zancanaro <carlo@zancanaro.id.au>
+;;; Copyright © 2018 Tomáš Čech <sleep_walker@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -761,3 +762,30 @@ in userspace)
 
 (define-public python2-pycryptodome
   (package-with-python2 python-pycryptodome))
+
+(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 "https://gitlab.com/m2crypto/m2crypto")
+    (synopsis "Python crypto and SSL toolkit")
+    (description "@code{M2Crypto} is complete Python wrapper for OpenSSL
+featuring RSA, DSA, DH, EC, HMACs, message digests, symmetric ciphers
+(including AES); TLS functionality to implement clients and servers; HTTPS
+extensions to Python's httplib, urllib, and xmlrpclib; unforgeable HMAC'ing
+AuthCookies for web session management; FTP/TLS client and server; S/MIME;
+M2Crypto can also be used to provide SSL for Twisted.  Smartcards supported
+through the Engine interface.")
+    (license license:expat)))
+
+(define-public python2-m2crypto
+  (package-with-python2 python-m2crypto))
-- 
2.16.3

  reply	other threads:[~2018-04-17 21:41 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-10  9:24 [bug#31121] [PATCH 1/3] gnu: Add python2-urlgrabber Tomáš Čech
2018-04-10  9:29 ` [bug#31121] [PATCH 2/3] gnu: Add python-m2crypto, python2-m2crypto Tomáš Čech
2018-04-10  9:29   ` [bug#31121] [PATCH 3/3] gnu: Add osc Tomáš Čech
2018-04-16 22:04     ` Marius Bakke
2018-04-17 21:39       ` Tomáš Čech [this message]
2018-04-18 11:17         ` [bug#31121] [PATCH 2/3] gnu: Add python-m2crypto, python2-m2crypto Marius Bakke
2018-04-17 21:40       ` [bug#31121] [PATCH 3/3] gnu: Add osc Tomáš Čech
2018-04-18 11:21         ` Marius Bakke
2018-04-18 12:34           ` Tomáš Čech
2018-04-19 15:41             ` Marius Bakke
2018-04-16 21:54   ` [bug#31121] [PATCH 2/3] gnu: Add python-m2crypto, python2-m2crypto Marius Bakke
2018-04-16 21:36 ` [bug#31121] [PATCH 1/3] gnu: Add python2-urlgrabber Marius Bakke
2018-04-16 21:46   ` Tomáš Čech
2018-04-16 23:13     ` Marius Bakke
2018-04-17 21:38     ` Tomáš Čech
2018-04-18 11:22       ` Marius Bakke
2018-04-21  6:42         ` bug#31121: patchset Tomáš Čech

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180417213950.30996-1-sleep_walker@gnu.org \
    --to=sleep_walker@gnu.org \
    --cc=31121@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.