gnu: Add python-certauth.

* gnu/packages/python-crypto.scm (python-certauth): New variable.
This commit is contained in:
Maxim Cournoyer 2021-07-13 09:57:28 -04:00
parent 4196087f3d
commit 08935e5fff
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -24,6 +24,7 @@
;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org> ;;; Copyright © 2020 Alexandros Theodotou <alex@zrythm.org>
;;; Copyright © 2020 Justus Winter <justus@sequoia-pgp.org> ;;; Copyright © 2020 Justus Winter <justus@sequoia-pgp.org>
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -468,6 +469,32 @@ (define-public python-keyrings.alt
risk.") risk.")
(license license:expat))) (license license:expat)))
(define-public python-certauth
(package
(name "python-certauth")
(version "1.3.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "certauth" version))
(sha256
(base32
"1yxqfb5131wahjyw9pxz03bq476rcfx62s6k53xx4cqbzzgdaqkq"))))
(build-system python-build-system)
(propagated-inputs
`(("python-pyopenssl" ,python-pyopenssl)
("python-tldextract" ,python-tldextract)))
(native-inputs
`(("python-pytest-cov" ,python-pytest-cov)))
(home-page "https://github.com/ikreymer/certauth")
(synopsis "Certificate authority creation tool")
(description "This package provides a small library, built on top of
pyOpenSSL, which allows for creating a custom certificate authority (CA)
certificate, and generating on-demand dynamic host certs using that CA
certificate. It is most useful for use with a man-in-the-middle HTTPS proxy,
for example, for recording or replaying web content.")
(license license:expat)))
(define-public python-certifi (define-public python-certifi
(package (package
(name "python-certifi") (name "python-certifi")