mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-14 11:00:36 +02:00
gnu: Add go-github-com-getkin-kin-openapi.
* gnu/packages/golang-web.scm (go-github-com-getkin-kin-openapi): New variable. Change-Id: Iff6aec35f4955966b466a97aaca491d5007971a8
This commit is contained in:
parent
3be6f53285
commit
f1421f5ad4
1 changed files with 45 additions and 0 deletions
|
@ -1725,6 +1725,51 @@ algorithm originally designed for use in
|
|||
Golang.")
|
||||
(license license:asl2.0)))
|
||||
|
||||
(define-public go-github-com-getkin-kin-openapi
|
||||
(package
|
||||
(name "go-github-com-getkin-kin-openapi")
|
||||
(version "0.128.0")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/getkin/kin-openapi")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "162hxwqywpbmfybyj1m0s4a0nxx0qldx90k49d2mf52xps1jp5p2"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "github.com/getkin/kin-openapi"
|
||||
#:test-flags
|
||||
;; They try to access network.
|
||||
#~(list "-skip" "TestIssue495WithDraft04|TestExtraSiblingsInRemoteRef")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(delete 'build)))) ; no go files in project's root
|
||||
(native-inputs
|
||||
(list go-github-com-stretchr-testify))
|
||||
(propagated-inputs
|
||||
(list go-github-com-go-openapi-jsonpointer
|
||||
go-github-com-gorilla-mux
|
||||
go-github-com-invopop-yaml
|
||||
go-github-com-mohae-deepcopy
|
||||
go-github-com-perimeterx-marshmallow
|
||||
go-gopkg-in-yaml-v3))
|
||||
(home-page "https://github.com/getkin/kin-openapi")
|
||||
(synopsis "OpenAPI 3.0 and Swagger v2 implementation for Golang")
|
||||
(description
|
||||
"This package implements a functionality for parsing, converting and
|
||||
validating
|
||||
@url{https://github.com/OAI/OpenAPI-Specification/blob/main/versions/2.0.md,
|
||||
OpenAPI v2.0},
|
||||
@url{https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md,
|
||||
OpenAPI v3.0} and
|
||||
@url{https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md,
|
||||
OpenAPI v3.1}.")
|
||||
(license license:expat)))
|
||||
|
||||
;; TODO: This repository has been archived by the owner on Aug 30, 2023. It is
|
||||
;; now read-only. The raven-go SDK is no longer maintained and was superseded
|
||||
;; by the sentry-go
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue