Subject: [bug#65940] [PATCH 07/33] gnu: Add go-github-com-hashicorp-go-multierror.

From: Edouard Klein <[email-masked]>
Date: Thu, 14 Sep 2023 09:09:14 +0200

* gnu/packages/golang.scm (go-github-com-hashicorp-go-multierror): New variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 435c553e05..8215f29dd5 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -13281,6 +13281,30 @@ (define-public go-github-com-hashicorp-errwrap
      "Package errwrap implements methods to formalize error wrapping in Go.")
     (license license:mpl2.0)))
 
+(define-public go-github-com-hashicorp-go-multierror
+  (package
+    (name "go-github-com-hashicorp-go-multierror")
+    (version "1.1.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/hashicorp/go-multierror")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0l4s41skdpifndn9s8y6s9vzgghdzg4z8z0lld9qjr28888wzp00"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/hashicorp/go-multierror"))
+    (propagated-inputs `(("go-github-com-hashicorp-errwrap" ,go-github-com-hashicorp-errwrap)))
+    (home-page "https://github.com/hashicorp/go-multierror")
+    (synopsis "go-multierror")
+    (description
+     "@@code{go-multierror} is a package for Go that provides a mechanism for
+representing a list of @@code{error} values as a single @@code{error}.")
+    (license license:mpl2.0)))
+
 (define-public go-github-com-vishvananda-netlink
   (package
     (name "go-github-com-vishvananda-netlink")
-- 
2.40.1