aboutsummaryrefslogtreecommitdiff
path: root/battering/packages/python-xyz.scm
diff options
context:
space:
mode:
authorHanketsu <hanketsu@egregore.fun>2025-02-28 10:09:54 +0100
committerHanketsu <hanketsu@egregore.fun>2025-06-13 00:04:34 +0200
commitc9ef65004e8daaef0a0fd08ad612c84e6ad313c7 (patch)
tree641a79852f05ea4cda61ba707203e2dbd3997ede /battering/packages/python-xyz.scm
parent4dfea621a977acbfa483670a65da244057b64a1c (diff)
battering: Add python-certomancer.
* battering/packages/python-xyz.scm (python-certomancer): New variable.
Diffstat (limited to 'battering/packages/python-xyz.scm')
-rw-r--r--battering/packages/python-xyz.scm39
1 files changed, 39 insertions, 0 deletions
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)))