guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 0489db737d8bc0297a949efa950a05c6146b7f2d
Author: Arthur Rodrigues <[email protected]>
AuthorDate: Mon Jan 26 22:20:59 2026 -0300

    gnu: Add go-github-com-cloudflare-backoff.
    
    * gnu/packages/golang-web.scm (go-github-com-cloudflare-backoff): New 
variable.
    
    Change-Id: Ia232318b4701c5c459cc6ecb516b64dd9fe682c0
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 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 0fd9b4e17a..524fa43629 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -350,6 +350,31 @@ cloud.google.com/go/auth and golang.org/x/oauth2.")
 API service accounts for Go.")
     (license license:asl2.0)))
 
+(define-public go-github-com-cloudflare-backoff
+  (package
+    (name "go-github-com-cloudflare-backoff")
+    (version "0.0.0-20240920015135-e46b80a3a7d0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/cloudflare/backoff";)
+              (commit (go-version->git-ref version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1bzcvsgakjyxgw47r2j6xxbs8v67srwzvvw60biqcqvpsvncbw42"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/cloudflare/backoff"))
+    (home-page "https://github.com/cloudflare/backoff";)
+    (synopsis "Backoff strategies for retry logic for Golang")
+    (description
+     "This package provides configurable backoff algorithms (exponential,
+ constant, etc.)  for Golang commonly used in retry loops for network calls or
+transient error handling.")
+    (license license:bsd-2)))
+
 (define-public go-github-com-go-rod-rod
   (package
     (name "go-github-com-go-rod-rod")

Reply via email to