diff options
author | Hanketsu <hanketsu@egregore.fun> | 2025-02-28 09:45:52 +0100 |
---|---|---|
committer | Hanketsu <hanketsu@egregore.fun> | 2025-06-13 00:04:33 +0200 |
commit | 4dfea621a977acbfa483670a65da244057b64a1c (patch) | |
tree | 11b1310f9787693599ca6c533ffccf41ddef8a66 /battering/packages/python-xyz.scm | |
parent | 599bc507e4f3d4d1df1a6bd69857b7223de4336a (diff) |
battering: Add python-pyhanko-certvalidator.
* battering/packages/python-xyz.scm (python-pyhanko-certvalidator): New variable.
Diffstat (limited to 'battering/packages/python-xyz.scm')
-rw-r--r-- | battering/packages/python-xyz.scm | 38 |
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))) |