gnu: Add python-etcd3.

* gnu/packages/python-xyz.scm (python-etcd3): New variable.

Change-Id: Ic41bfd08d26c549dcaab4043448fe93a506e7a95
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-09-21 23:51:24 +02:00 committed by Sharlatan Hellseher
parent e6b02796e3
commit 41142cf8da
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -275,6 +275,7 @@
#:use-module (gnu packages rdf)
#:use-module (gnu packages readline)
#:use-module (gnu packages regex)
#:use-module (gnu packages rpc)
#:use-module (gnu packages rust)
#:use-module (gnu packages rust-apps)
#:use-module (gnu packages scanner)
@ -5854,6 +5855,35 @@ command-line script you can get the latest strip of a webcomic, catch-up to the
downloaded, or download a strip for a particular date or index, if possible.")
(license license:expat)))
(define-public python-etcd3
(package
(name "python-etcd3")
(version "0.12.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/kragniz/python-etcd3")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "06hw0kcl77v8px5w2hfnf2l9gjnjrspjb49kx3jqa382z7wzdkk0"))))
(build-system pyproject-build-system)
(arguments
(list
;; XXX: Tests require the etcd package.
#:tests? #f
#:test-backend #~'custom
#:test-flags ; Taken from tox.ini.
#~(list "pifpaf" "-e" "python" "run" "etcd" "--cluster" "--" "pytest")))
(propagated-inputs (list python-grpcio python-protobuf python-tenacity))
(native-inputs (list python-mock python-pifpaf python-pytest python-setuptools))
(home-page "https://github.com/kragniz/python-etcd3")
(synopsis "Python client for the etcd3 API")
(description
"This package provide a Python client for the @code{etcd3} API.")
(license license:asl2.0)))
(define-public python-et-xmlfile
(package
(name "python-et-xmlfile")