summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2024-03-08 21:23:26 +0300
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-03-16 22:59:47 +0000
commite1e65c593009bfb564e6f2a684e4300d058d1e0d (patch)
tree490c56ec253dd54835af25a76493488131e387fb
parentaf714ebceedb14e3ed15fbb8cc471178d631bc6f (diff)
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>
-rw-r--r--gnu/packages/golang-xyz.scm23
1 files changed, 23 insertions, 0 deletions
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")