Subject: [bug#69654] [PATCH 2/3] gnu: Add go-github-com-jbenet-go-temp-err-catcher.

From: "Artyom V. Poptsov" <[email-masked]>
Date: Fri, 8 Mar 2024 21:23:26 +0300

* gnu/packages/golang-xyz.scm (go-github-com-jbenet-go-temp-err-catcher): New
  variable.

Change-Id: Ic92f036cb9f45a8f55872a218aa42e18716cc2b9
---
 gnu/packages/golang-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 7e71dca14c..979e964a03 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -987,6 +987,29 @@ (define-public go-github-com-hhrutter-tiff
 @end itemize")
     (license license:bsd-3)))
 
+(define-public go-github-com-jbenet-go-temp-err-catcher
+  (package
+    (name "go-github-com-jbenet-go-temp-err-catcher")
+    (version "0.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jbenet/go-temp-err-catcher")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0n482jhh6jwq43jj21xkq8grqzx78hjh7f44p0q3n01zp1dsh97r"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/jbenet/go-temp-err-catcher"))
+    (home-page "https://github.com/jbenet/go-temp-err-catcher")
+    (synopsis "Error handling helper library")
+    (description "Package @code{temperrcatcher} provides a @code{TempErrCatcher}
+object, which implements simple error-retrying functionality.")
+    (license license:expat)))
+
 (define-public go-github-com-jbenet-goprocess
   (package
     (name "go-github-com-jbenet-goprocess")
-- 
2.41.0