guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

104/172: gnu: Add go-github-com-hashicorp-go-retryablehttp.


From: guix-commits
Subject: 104/172: gnu: Add go-github-com-hashicorp-go-retryablehttp.
Date: Tue, 5 Nov 2024 16:05:03 -0500 (EST)

sharlatan pushed a commit to branch go-team
in repository guix.

commit b83e8f281b2a0779ab35437592ecad50d28e62df
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Sep 15 20:06:48 2024 +0100

    gnu: Add go-github-com-hashicorp-go-retryablehttp.
    
    * gnu/packages/golang-web.scm (go-github-com-hashicorp-go-retryablehttp): 
New variable.
    
    Change-Id: I60bee5b1ae3cda325cc1be4636766f5ac65a5555
---
 gnu/packages/golang-web.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 09a6aa232b..356a5cf6e8 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -2487,6 +2487,35 @@ the Go standard library, but returns a client that does 
not share any state
 with other clients.")
     (license license:mpl2.0)))
 
+(define-public go-github-com-hashicorp-go-retryablehttp
+  (package
+    (name "go-github-com-hashicorp-go-retryablehttp")
+    (version "0.7.7")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/hashicorp/go-retryablehttp";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "11bqzz3244vpa91l5bx8pp5pajbcg4qxrl8ic2x0qgwbrjfz362x"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/hashicorp/go-retryablehttp"))
+    (propagated-inputs
+     (list go-github-com-hashicorp-go-hclog
+           go-github-com-hashicorp-go-cleanhttp))
+    (home-page "https://github.com/hashicorp/go-retryablehttp";)
+    (synopsis "Retryable HTTP client in Golang")
+    (description
+     "Package retryablehttp provides a familiar HTTP client interface with
+automatic retries and exponential backoff.  It is a thin wrapper over the
+standard @code{net/http} client library and exposes nearly the same public
+API.")
+    (license license:mpl2.0)))
+
 (define-public go-github-com-hjson-hjson-go-v4
   (package
     (name "go-github-com-hjson-hjson-go-v4")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]