guix_mirror_bot pushed a commit to branch go-team in repository guix. commit e30c171f3a7c7a4da148e63d56cd987a11f8994e Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Sun Jun 8 18:00:33 2025 +0100
gnu: Add go-github-com-cenkalti-backoff-v5. * gnu/packages/golang-web.scm (go-github-com-cenkalti-backoff-v5): New variable. Change-Id: I3cfe26085495f05671d46eb3b1fcaa1b0973c59a --- gnu/packages/golang-web.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 03a9f5d6fb..c0e2a5bf2c 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -1508,6 +1508,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-chris-ramon-douceur (package (name "go-github-com-chris-ramon-douceur")