gnu: python-txacme: Update to 0.9.3-0.ac18f92, fix build.

* gnu/packages/python-xyz.scm (python-txacme): Update to 0.9.3-0.ac18f92.
[source]: Switch to git-fetch and use the latest commit from trunk
branch.
[arguments] <test-backend>: Use 'custom.
<test-flags>: Provide option to run tests with twisted.
[native-inputs]: Remove python-fixtures, python-hypothesis, python-mock,
python-service-identity, python-testrepository, python-testscenarios,
and python-testtools; add python-setuptools.

Change-Id: Ifd7feb33bbca051e61f9eddf7b6e1a5026ec5568
This commit is contained in:
Sharlatan Hellseher 2025-09-23 09:59:32 +01:00
parent ba549e727b
commit 9c86a5c9dd
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -33524,44 +33524,50 @@ with the Twisted web framework.")
(license license:expat)))) (license license:expat))))
(define-public python-txacme (define-public python-txacme
(package ;; 0.9.3 tag was placed in 2020 and there a lot of changes providing
(name "python-txacme") ;; compatibility wit twisted, use the latest commit from trunk branch.
(version "0.9.2") ;;
(source ;;See: <https://github.com/twisted/txacme/issues/165>.
(origin (let ((commit "ac18f92f6dde971a6b38f2ecfae44665815db583")
(method url-fetch) (revision "0"))
(uri (pypi-uri "txacme" version)) (package
(sha256 (name "python-txacme")
(base32 "1cplx4llq7i508w6fgwjdv9di7rsz9k9irfmzdfbiz6q6a0ykf1d")))) (version (git-version "0.9.3" revision commit))
(build-system python-build-system) (source
(propagated-inputs (origin
(list python-acme (method git-fetch) ;no fresh release in PyPI
python-attrs (uri (git-reference
python-eliot (url "https://github.com/twisted/txacme")
python-josepy (commit commit)))
python-pem (file-name (git-file-name name version))
python-treq (sha256
python-twisted (base32 "0mgdfxldv8qflbn75ywslbarnd4i3l7c4krs4aibl2dpryclsjzs"))))
python-txsni)) (build-system pyproject-build-system)
(native-inputs (arguments
(list python-fixtures (list #:test-backend #~'custom
python-hypothesis #:test-flags #~(list "-m" "twisted.trial" "txacme")))
python-mock (native-inputs
python-service-identity (list python-setuptools))
python-testrepository (propagated-inputs
python-testscenarios (list python-acme
python-testtools)) python-attrs
(home-page "https://github.com/twisted/txacme") python-eliot
(synopsis "Twisted implexmentation of the ACME protocol") python-josepy
(description python-pem
"ACME is Automatic Certificate Management Environment, a protocol that python-treq
python-twisted
python-txsni))
(home-page "https://github.com/twisted/txacme")
(synopsis "Twisted implexmentation of the ACME protocol")
(description
"ACME is Automatic Certificate Management Environment, a protocol that
allows clients and certificate authorities to automate verification and allows clients and certificate authorities to automate verification and
certificate issuance. The ACME protocol is used by the free Let's Encrypt certificate issuance. The ACME protocol is used by the free Let's Encrypt
Certificate Authority. Certificate Authority.
txacme is an implementation of the protocol for Twisted, the event-driven txacme is an implementation of the protocol for Twisted, the event-driven
networking engine for Python.") networking engine for Python.")
(license license:expat))) (license license:expat))))
(define-public python-pysaml2 (define-public python-pysaml2
(package (package