diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-06-08 18:00:33 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-11 21:42:43 +0100 |
| commit | dfb54c0fcbf75b69ed5b13db278583ffdf581237 (patch) | |
| tree | 75657de555a4a9b9d06f972826eb80f13eef0580 /gnu | |
| parent | 64929774638ec7e5504e0f018f44172e8c504245 (diff) | |
gnu: Add go-github-com-cenkalti-backoff-v5.
* gnu/packages/golang-web.scm (go-github-com-cenkalti-backoff-v5): New variable.
Change-Id: I3cfe26085495f05671d46eb3b1fcaa1b0973c59a
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/golang-web.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 81c701ac569..1bb81502ccf 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -1617,6 +1617,31 @@ process, in order to gradually find an acceptable rate. The retries exponentially increase and stop increasing when a certain threshold is met.") (license license:expat))) +(define-public go-github-com-cenkalti-backoff-v5 + (package + (inherit go-github-com-cenkalti-backoff-v4) + (name "go-github-com-cenkalti-backoff-v5") + (version "5.0.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cenkalti/backoff") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1hc4manlkqfy9acva1jb8ayh8jihjb0h76l3g1sqqp0vlaq5y6q3")))) + (arguments + (list + #:import-path "github.com/cenkalti/backoff/v5" + #:phases + #~(modify-phases %standard-phases + ;; XXX: Example tests freeze infinitely. + (add-after 'unpack 'remove-examples + (lambda* (#:key import-path #:allow-other-keys) + (with-directory-excursion (string-append "src/" import-path) + (delete-file "example_test.go"))))))))) + (define-public go-github-com-cenkalti-hub (package (name "go-github-com-cenkalti-hub") |
