summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2021-03-19 15:29:46 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2021-03-20 11:19:29 +0100
commit08c3614125c0ebce9dc61b19fcd3d9d4ca6b6d8f (patch)
tree4abae3030524eed0eab89260ebcf987e4c39f4c8 /gnu
parent32c979675ece13753c0c91980e921785bac4623d (diff)
downloadguix-08c3614125c0ebce9dc61b19fcd3d9d4ca6b6d8f.tar.gz
gnu: Add go-go-uber-org-multierr.
* gnu/packages/golang.scm (go-go-uber-org-multierr): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3729a46c4e..a3f33678fa 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6890,3 +6890,29 @@ programs that use traditional command lines.")
      "This package provides simple wrappers for primitive types to enforce
 atomic access.")
     (license license:expat)))
+
+(define-public go-go-uber-org-multierr
+  (package
+    (name "go-go-uber-org-multierr")
+    (version "1.6.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/uber-go/multierr")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "162941s8f6a9x2w04qm4qa3zz0zylwag9149hywrj9ibp2nzcsqz"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "go.uber.org/multierr"))
+    (native-inputs
+     `(("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify)))
+    (propagated-inputs
+     `(("go-go-uber-org-atomic" ,go-go-uber-org-atomic)))
+    (home-page "https://go.uber.org/multierr")
+    (synopsis "Error combination fo Go")
+    (description
+     "@code{multierr} allows combining one or more Go errors together.")
+    (license license:expat)))