guix-commits
[Top][All Lists]
Advanced

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

03/10: gnu: Add go-github-com-jbenet-go-temp-err-catcher.


From: guix-commits
Subject: 03/10: gnu: Add go-github-com-jbenet-go-temp-err-catcher.
Date: Sat, 16 Mar 2024 20:11:25 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit e1e65c593009bfb564e6f2a684e4300d058d1e0d
Author: Artyom V. Poptsov <poptsov.artyom@gmail.com>
AuthorDate: Fri Mar 8 21:23:26 2024 +0300

    gnu: Add go-github-com-jbenet-go-temp-err-catcher.
    
    * gnu/packages/golang-xyz.scm (go-github-com-jbenet-go-temp-err-catcher): 
New
      variable.
    
    Change-Id: Ic92f036cb9f45a8f55872a218aa42e18716cc2b9
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
 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 528c07d9f1..3f5cdc404d 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1035,6 +1035,29 @@ increment versions.")
 @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")



reply via email to

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