From 701d85c5a9b2dee3901ecd57c1a3f998a55ebae6 Mon Sep 17 00:00:00 2001 From: Leo Nikkilä Date: Sat, 24 Aug 2024 19:57:50 +0100 Subject: gnu: Add go-github-com-go-openapi-strfmt. * gnu/packages/golang-web.scm (go-github-com-go-openapi-strfmt): New variable. Signed-off-by: Sharlatan Hellseher Change-Id: I31a3d51315991aae3ead5cde12fc14d913235a6a --- gnu/packages/golang-web.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index 58ef149541..0355b2d7d6 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -1460,6 +1460,41 @@ prototyped in @url{https://github.com/xeipuuv/gojsonreference}.") model.") (license license:asl2.0))) +(define-public go-github-com-go-openapi-strfmt + (package + (name "go-github-com-go-openapi-strfmt") + (version "0.23.0") + (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 "00hqmfsgknhvp7mcbxfadpv4109f9gj59223yxhvmcviqg0a6a7b")))) + (build-system go-build-system) + (arguments + (list + #:import-path "github.com/go-openapi/strfmt")) + (native-inputs + (list go-github-com-stretchr-testify)) + (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)) + (home-page "https://github.com/go-openapi/strfmt") + (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.") + (license license:asl2.0))) + (define-public go-github-com-go-openapi-swag (package (name "go-github-com-go-openapi-swag") -- cgit v1.2.3