aboutsummaryrefslogtreecommitdiff
path: root/battering/packages
diff options
context:
space:
mode:
Diffstat (limited to 'battering/packages')
-rw-r--r--battering/packages/python-xyz.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/battering/packages/python-xyz.scm b/battering/packages/python-xyz.scm
index 39274bd..5ce31c7 100644
--- a/battering/packages/python-xyz.scm
+++ b/battering/packages/python-xyz.scm
@@ -12,6 +12,7 @@
#:use-module (gnu packages check)
#:use-module (gnu packages pdf)
#:use-module (gnu packages python-build)
+ #:use-module (gnu packages python-check)
#:use-module (gnu packages python-crypto)
#:use-module (gnu packages python-science)
#:use-module (gnu packages python-web)
@@ -240,3 +241,40 @@ Linux/BSD.")
parsing, classifying and composing URIs and URI references, largely replacing
the Python Standard Library’s @code{urllib.parse} module.")
(license license:expat)))
+
+(define-public python-pyhanko-certvalidator
+ (package
+ (name "python-pyhanko-certvalidator")
+ (version "0.26.5")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/MatthiasValvekens/certvalidator")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1c50bsibr4izvbg2wsx8k3l0vkjbp0caq3jaxnnrlkpwzzxfgzgv"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-asn1crypto
+ python-oscrypto
+ python-cryptography
+ python-uritools
+ python-requests
+ python-aiohttp))
+ (native-inputs (list python-pytest
+ python-pytest-cov
+ python-freezegun
+ python-pytest-aiohttp
+ python-types-requests
+ python-setuptools
+ python-wheel
+ nss-certs-for-test))
+ (home-page "https://github.com/MatthiasValvekens/certvalidator")
+ (synopsis
+ "Python library for validating X.509 certificates and paths")
+ (description
+ "@code{pyhanko-certvalidator} is a Python library for validating X.509
+certificates paths. It supports various options, including: validation at a
+specific moment in time, whitelisting and revocation checks.")
+ (license license:expat)))