guix-commits
[Top][All Lists]
Advanced

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

01/05: gnu: Add python-service-identity.


From: guix-commits
Subject: 01/05: gnu: Add python-service-identity.
Date: Fri, 23 Nov 2018 19:53:08 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 8afe166dd7e8baf710a92f0c6e295e66bb44e606
Author: Nam Nguyen <address@hidden>
Date:   Thu Nov 22 01:49:07 2018 -0800

    gnu: Add python-service-identity.
    
    * gnu/packages/python-crypto.scm (python-service-identity,
      python2-service-identity): New variables.
    
    Signed-off-by: Marius Bakke <address@hidden>
---
 gnu/packages/python-crypto.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 1a70f94..1d08578 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -18,6 +18,7 @@
 ;;; Copyright © 2018 Tomáš Čech <address@hidden>
 ;;; Copyright © 2018 Nicolas Goaziou <address@hidden>
 ;;; Copyright © 2018 Vagrant Cascadian <address@hidden>
+;;; Copyright © 2018 Nam Nguyen <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -970,3 +971,33 @@ been constructed to maintain extensive documentation on 
how to use
     (description "This is a set of Python bindings for the scrypt key
 derivation function.")
     (license license:bsd-2)))
+
+(define-public python-service-identity
+  (package
+    (name "python-service-identity")
+    (version "17.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "service_identity" version))
+       (sha256
+        (base32
+         "1aq24cn3nnsjr9g797dayhx4g653h6bd41ksqhidzq0rvarzn0a0"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-attrs" ,python-attrs)
+       ("python-pyasn1" ,python-pyasn1)
+       ("python-pyasn1-modules" ,python-pyasn1-modules)
+       ("python-pyopenssl" ,python-pyopenssl)))
+    (home-page "https://service-identity.readthedocs.io/";)
+    (synopsis "Service identity verification for PyOpenSSL")
+    (description
+     "@code{service_identity} aspires to give you all the tools you need
+for verifying whether a certificate is valid for the intended purposes.
+In the simplest case, this means host name verification.  However,
+service_identity implements RFC 6125 fully and plans to add other
+relevant RFCs too.")
+    (license license:expat)))
+
+(define-public python2-service-identity
+  (package-with-python2 python-service-identity))



reply via email to

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