guix_mirror_bot pushed a commit to branch master
in repository guix.

commit ceadf4d9559b95298cc24833910fba8e725bf965
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Mar 8 22:41:52 2026 +0000

    gnu: Add python-stamina.
    
    * gnu/packages/python-web.scm (python-stamina): New variable.
    
    Change-Id: I00be94ab1816928f240b9bb65ce3d71cee0c3667
---
 gnu/packages/python-web.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index ae24336bda..4326d49c9d 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")

Reply via email to