From c9ef65004e8daaef0a0fd08ad612c84e6ad313c7 Mon Sep 17 00:00:00 2001 From: Hanketsu Date: Fri, 28 Feb 2025 10:09:54 +0100 Subject: battering: Add python-certomancer. * battering/packages/python-xyz.scm (python-certomancer): New variable. --- battering/packages/python-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/battering/packages/python-xyz.scm b/battering/packages/python-xyz.scm index 5ce31c7..22d045b 100644 --- a/battering/packages/python-xyz.scm +++ b/battering/packages/python-xyz.scm @@ -17,6 +17,7 @@ #:use-module (gnu packages python-science) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) + #:use-module (gnu packages time) #:use-module (gnu packages tls) #:use-module (gnu packages tmux) #:use-module (gnu packages xdisorg) @@ -278,3 +279,41 @@ the Python Standard Library’s @code{urllib.parse} module.") certificates paths. It supports various options, including: validation at a specific moment in time, whitelisting and revocation checks.") (license license:expat))) + +(define-public python-certomancer + (package + (name "python-certomancer") + (version "0.12.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/MatthiasValvekens/certomancer") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1mj0km2qwxphz5kwigv6bdlzjxzwxh6j8gajb5d48lqncnhcn66q")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-asn1crypto + python-click + python-pyyaml + python-dateutil + python-tzlocal + python-cryptography + python-requests-mock + python-werkzeug + python-jinja2)) + (native-inputs (list python-pytest + python-pytz + python-freezegun + python-requests + python-pytest-cov + python-pytest-asyncio + python-pyhanko-certvalidator + python-setuptools + python-wheel)) + (home-page "https://github.com/MatthiasValvekens/certomancer") + (synopsis "PKI testing tool") + (description "Construct, mock & deploy PKI test configurations using +declarative configuration.") + (license license:expat))) -- cgit v1.2.3