gnu: Add go-github-com-go-openapi-spec.

* gnu/packages/golang-web.scm (go-github-com-go-openapi-spec): New
variable.

Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Change-Id: I4fa578345ffa7ad550926b37489f1a0c5a827fb9
This commit is contained in:
Leo Nikkilä 2024-08-24 19:46:51 +01:00 committed by Sharlatan Hellseher
parent 82c63dfe31
commit f24fb6f7c6
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1428,6 +1428,38 @@ (define-public go-github-com-go-openapi-jsonreference
prototyped in @url{https://github.com/xeipuuv/gojsonreference}.")
(license license:asl2.0)))
(define-public go-github-com-go-openapi-spec
(package
(name "go-github-com-go-openapi-spec")
(version "0.21.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/go-openapi/spec")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "07qp7gakrjwznbxg1w5ww8j0ky407s9rmyyrpwv5rsp8yw6qimjc"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/go-openapi/spec"))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-go-openapi-jsonpointer
go-github-com-go-openapi-jsonreference
go-github-com-go-openapi-swag
go-gopkg-in-yaml-v3))
(home-page "https://github.com/go-openapi/spec")
(synopsis "OpenAPI specification object model")
(description
"This package implements functionality to marshal and unmarshal
@url{https://swagger.io/,Swagger} API specifications into a Golang object
model.")
(license license:asl2.0)))
(define-public go-github-com-go-openapi-swag
(package
(name "go-github-com-go-openapi-swag")