summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-03-08 22:41:52 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-03-08 22:41:52 +0000
commitceadf4d9559b95298cc24833910fba8e725bf965 (patch)
tree4fc29c3437d8e73ecacab16a86b5be635b1ce72a /gnu/packages/python-web.scm
parent3c078b5a5209bafa87bd1e3f653064ae2ae5f800 (diff)
gnu: Add python-stamina.
* gnu/packages/python-web.scm (python-stamina): New variable. Change-Id: I00be94ab1816928f240b9bb65ce3d71cee0c3667
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index ae24336bdac..4326d49c9dc 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -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")