1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: Add python-stamina.

* gnu/packages/python-web.scm (python-stamina): New variable.

Change-Id: I00be94ab1816928f240b9bb65ce3d71cee0c3667
This commit is contained in:
Sharlatan Hellseher
2026-03-08 22:41:52 +00:00
parent 3c078b5a52
commit ceadf4d955

View File

@@ -4368,6 +4368,38 @@ high-speed transfers via libcurl and frequently outperforms alternatives.")
;; under the terms of LGPLv2.1+ or Expat.
(license (list license:lgpl2.1+ license:expat))))
(define-public python-stamina
(package
(name "python-stamina")
(version "25.2.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/hynek/stamina")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "100iadhzmxbavk0ras3srnagh9af5pxbqrm4mrrkyy69knih9jiy"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest
python-anyio
python-dirty-equals
python-hatch-fancy-pypi-readme
python-hatch-vcs
python-hatchling
python-structlog))
(propagated-inputs
(list python-tenacity
python-typing-extensions))
(home-page "https://github.com/hynek/stamina")
(synopsis "Retries library for Python")
(description
"@code{stamina} is an opinionated wrapper around the
@url{https://tenacity.readthedocs.io/en/latest/, Tenacity} package.")
(license license:expat)))
(define-public python-stripe
(package
(name "python-stripe")