Subject: [PATCH 43/47] gnu: Add go-github-com-go-openapi-loads.

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

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

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index bebde5fe89..7d679e825f 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10243,6 +10243,32 @@ (define-public go-github-com-go-openapi-jsonreference
     (home-page "https://github.com/go-openapi/jsonreference")
     (license license:asl2.0)))
 
+(define-public go-github-com-go-openapi-loads
+  (package
+    (name "go-github-com-go-openapi-loads")
+    (version "0.21.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/go-openapi/loads")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "05jjykw8slfbndcrhrhxcam14zq973w0sbi3d6ivy344k3n4a0pm"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/go-openapi/loads"))
+    (propagated-inputs (list go-github-com-go-openapi-analysis
+                             go-github-com-go-openapi-spec
+                             go-github-com-go-openapi-swag go-gopkg-in-yaml-v2))
+    (native-inputs (list go-github-com-stretchr-testify))
+    (synopsis "Load OAI specification documents")
+    (description "Loading of OAI specification documents from local or
+remote locations.  Supports JSON and YAML documents.")
+    (home-page "https://github.com/go-openapi/loads")
+    (license license:asl2.0)))
+
 (define-public go-github-com-go-openapi-spec
   (package
     (name "go-github-com-go-openapi-spec")
-- 
2.34.0