From: Leo Famulari <leo@famulari.name>
To: 27043@debbugs.gnu.org
Subject: bug#27043: [PATCH] gnu: Add python-asn1crypto.
Date: Tue, 23 May 2017 15:42:27 -0400 [thread overview]
Message-ID: <112e5a50205629b8d4c5de726c45f6c2f1666699.1495568547.git.leo@famulari.name> (raw)
* gnu/packages/crypto.scm (python-asn1crypto, python2-asn1crypto): New variables.
---
gnu/packages/crypto.scm | 27 ++++++++++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 856308afe..86cd777ef 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -51,7 +51,8 @@
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system cmake)
- #:use-module (guix build-system gnu))
+ #:use-module (guix build-system gnu)
+ #:use-module (guix build-system python))
(define-public libsodium
(package
@@ -414,3 +415,27 @@ utility as a demonstration of the @code{scrypt} key derivation function.
@code{Scrypt} is designed to be far more resistant against hardware brute-force
attacks than alternative functions such as @code{PBKDF2} or @code{bcrypt}.")
(license license:bsd-2)))
+
+(define-public python-asn1crypto
+ (package
+ (name "python-asn1crypto")
+ (version "0.22.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "asn1crypto" version))
+ (sha256
+ (base32
+ "06pd1bglyisjnjkgc5dc24b498q9r8fmvwkfn0janr9i1mjdvfnb"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:tests? #f)) ; Tests are not distributed via PyPi.
+ (home-page "https://github.com/wbond/asn1crypto")
+ (synopsis "ASN.1 parser and serializer in Python")
+ (description "Fast ASN.1 parser and serializer with definitions for private
+keys, public keys, certificates, CRL, OCSP, CMS, PKCS#3, PKCS#7, PKCS#8,
+PKCS#12, PKCS#5, X.509 and TSP.")
+ (license license:expat)))
+
+(define-public python2-asn1crypto
+ (package-with-python2 python-asn1crypto))
--
2.13.0
next reply other threads:[~2017-05-23 19:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-23 19:42 Leo Famulari [this message]
2017-05-24 7:54 ` bug#27043: [PATCH] gnu: Add python-asn1crypto Arun Isaac
2017-05-24 16:13 ` Marius Bakke
[not found] ` <c493b2f5.AEEAK7CSRGoAAAAAAAAAAAO8ccgAAAACwQwAAAAAAAW9WABZJTxG@mailjet.com>
2017-05-25 19:44 ` Leo Famulari
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=112e5a50205629b8d4c5de726c45f6c2f1666699.1495568547.git.leo@famulari.name \
--to=leo@famulari.name \
--cc=27043@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.