diff options
| author | Frederick Muriuki Muriithi | 2026-03-20 13:00:03 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-03-20 17:23:06 -0500 |
| commit | 25348dbbf8d2f3ef70a61dab4c5d0304301d5db4 (patch) | |
| tree | 58e5a05a5a7a3150a07ce75e206c013b4fdeac4f /gn/packages/python-xyz.scm | |
| parent | 17271ead9eb0e4448dbb00e5cd67b0a7c6995c1a (diff) | |
| download | guix-bioinformatics-25348dbbf8d2f3ef70a61dab4c5d0304301d5db4.tar.gz | |
python-backoff: Add new package definition.
Diffstat (limited to 'gn/packages/python-xyz.scm')
| -rw-r--r-- | gn/packages/python-xyz.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gn/packages/python-xyz.scm b/gn/packages/python-xyz.scm index 619f185..eafb37b 100644 --- a/gn/packages/python-xyz.scm +++ b/gn/packages/python-xyz.scm @@ -8,6 +8,7 @@ #:use-module (gnu packages check) #:use-module (gnu packages sphinx) + #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages python-check) #:use-module (gnu packages python-build)) @@ -86,3 +87,28 @@ "Document parameters, class attributes, return types, and variables inline, with Annotated.") (license license:expat))) + + +(define-public python-backoff + (package + (name "python-backoff") + (version "2.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/litl/backoff") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0cpfd8fdznwlxrjpwy10pl4bj9q393ys1vj90nvsrhwakqcdiil3")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest + python-requests + python-responses + python-poetry-core + python-pytest-asyncio-0.21)) + (home-page "https://github.com/litl/backoff") + (synopsis "Function decoration for backoff and retry") + (description "Function decoration for backoff and retry.") + (license license:expat))) |
