Subject: [PATCH 36/47] gnu: Add go-github-com-go-openapi-errors.

From: Leo Nikkilä <[email-masked]>
Date: Fri, 25 Mar 2022 15:32:00 +0200

* gnu/packages/golang.scm (go-github-com-go-openapi-errors): New
variable.
---
 gnu/packages/golang.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index cf53f50fd9..8f4b762e9d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10135,6 +10135,29 @@ (define-public go-github-com-go-logfmt-logfmt
     (home-page "https://github.com/go-logfmt/logfmt")
     (license license:expat)))
 
+(define-public go-github-com-go-openapi-errors
+  (package
+    (name "go-github-com-go-openapi-errors")
+    (version "0.20.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/go-openapi/errors")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0w7y16lk7gqcndpmzj7b8f6wmb6q5l3yq7rbqcbv9k7vd2vwww0k"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/go-openapi/errors"))
+    (native-inputs (list go-github-com-stretchr-testify))
+    (synopsis "OpenAPI toolkit common errors")
+    (description "Shared errors and error interface used throughout the
+various libraries found in the go-openapi toolkit.")
+    (home-page "https://github.com/go-openapi/errors")
+    (license license:asl2.0)))
+
 (define-public go-github-com-go-stack-stack
   (package
     (name "go-github-com-go-stack-stack")
-- 
2.34.0