Subject: [PATCH 41/47] gnu: Add go-github-com-go-openapi-strfmt.

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

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

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e6d7ab5518..8256ad5ad6 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10232,6 +10232,38 @@ (define-public go-github-com-go-openapi-spec
     (home-page "https://github.com/go-openapi/spec")
     (license license:asl2.0)))
 
+(define-public go-github-com-go-openapi-strfmt
+  (package
+    (name "go-github-com-go-openapi-strfmt")
+    (version "0.21.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/go-openapi/strfmt")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "010wpkk1mc6k1qi5fs23fphxik4yp3mjfg330dwhqa17njacr6dx"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/go-openapi/strfmt"))
+    (propagated-inputs (list go-github-com-asaskevich-govalidator
+                             go-github-com-go-openapi-errors
+                             go-github-com-google-uuid
+                             go-github-com-mitchellh-mapstructure
+                             go-github-com-oklog-ulid
+                             go-go-mongodb-org-mongo-driver))
+    (native-inputs (list go-github-com-stretchr-testify))
+    (synopsis "OpenAPI toolkit common string formats")
+    (description
+     "This package exposes a registry of data types to support string
+formats in the @code{go-openapi} toolkit.  @code{strfmt} represents a
+well known string format such as credit card or email.  The Go toolkit
+for OpenAPI specifications knows how to deal with those.")
+    (home-page "https://github.com/go-openapi/strfmt")
+    (license license:asl2.0)))
+
 (define-public go-github-com-go-openapi-swag
   (package
     (name "go-github-com-go-openapi-swag")
-- 
2.34.0