diff options
| author | Nam Nguyen <namn@berkeley.edu> | 2018-11-22 01:49:07 -0800 |
|---|---|---|
| committer | Marius Bakke <mbakke@fastmail.com> | 2018-11-24 01:50:42 +0100 |
| commit | 8afe166dd7e8baf710a92f0c6e295e66bb44e606 (patch) | |
| tree | d987737d0318d88b5509d69a4998995d90507c51 /gnu/packages/python-crypto.scm | |
| parent | f12f70b1f24f1a2e1993d99e6af9ee541746497f (diff) | |
gnu: Add python-service-identity.
* gnu/packages/python-crypto.scm (python-service-identity,
python2-service-identity): New variables.
Signed-off-by: Marius Bakke <mbakke@fastmail.com>
Diffstat (limited to 'gnu/packages/python-crypto.scm')
| -rw-r--r-- | gnu/packages/python-crypto.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 1a70f943a3b..1d08578c3d0 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm | |||
| @@ -18,6 +18,7 @@ | |||
| 18 | ;;; Copyright © 2018 Tomáš Čech <sleep_walker@gnu.org> | 18 | ;;; Copyright © 2018 Tomáš Čech <sleep_walker@gnu.org> |
| 19 | ;;; Copyright © 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr> | 19 | ;;; Copyright © 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr> |
| 20 | ;;; Copyright © 2018 Vagrant Cascadian <vagrant@debian.org> | 20 | ;;; Copyright © 2018 Vagrant Cascadian <vagrant@debian.org> |
| 21 | ;;; Copyright © 2018 Nam Nguyen <namn@berkeley.edu> | ||
| 21 | ;;; | 22 | ;;; |
| 22 | ;;; This file is part of GNU Guix. | 23 | ;;; This file is part of GNU Guix. |
| 23 | ;;; | 24 | ;;; |
| @@ -970,3 +971,33 @@ been constructed to maintain extensive documentation on how to use | |||
| 970 | (description "This is a set of Python bindings for the scrypt key | 971 | (description "This is a set of Python bindings for the scrypt key |
| 971 | derivation function.") | 972 | derivation function.") |
| 972 | (license license:bsd-2))) | 973 | (license license:bsd-2))) |
| 974 | |||
| 975 | (define-public python-service-identity | ||
| 976 | (package | ||
| 977 | (name "python-service-identity") | ||
| 978 | (version "17.0.0") | ||
| 979 | (source | ||
| 980 | (origin | ||
| 981 | (method url-fetch) | ||
| 982 | (uri (pypi-uri "service_identity" version)) | ||
| 983 | (sha256 | ||
| 984 | (base32 | ||
| 985 | "1aq24cn3nnsjr9g797dayhx4g653h6bd41ksqhidzq0rvarzn0a0")))) | ||
| 986 | (build-system python-build-system) | ||
| 987 | (propagated-inputs | ||
| 988 | `(("python-attrs" ,python-attrs) | ||
| 989 | ("python-pyasn1" ,python-pyasn1) | ||
| 990 | ("python-pyasn1-modules" ,python-pyasn1-modules) | ||
| 991 | ("python-pyopenssl" ,python-pyopenssl))) | ||
| 992 | (home-page "https://service-identity.readthedocs.io/") | ||
| 993 | (synopsis "Service identity verification for PyOpenSSL") | ||
| 994 | (description | ||
| 995 | "@code{service_identity} aspires to give you all the tools you need | ||
| 996 | for verifying whether a certificate is valid for the intended purposes. | ||
| 997 | In the simplest case, this means host name verification. However, | ||
| 998 | service_identity implements RFC 6125 fully and plans to add other | ||
| 999 | relevant RFCs too.") | ||
| 1000 | (license license:expat))) | ||
| 1001 | |||
| 1002 | (define-public python2-service-identity | ||
| 1003 | (package-with-python2 python-service-identity)) | ||
