mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: Add go-github-com-danielgtaylor-huma-v2.
* gnu/packages/golang-web.scm (go-github-com-danielgtaylor-huma-v2): New variable. Change-Id: Icf4622bc3ea332260d5388be1aab9b491a27c40e Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
7bab1008a3
commit
ccc510f8da
1 changed files with 51 additions and 0 deletions
|
|
@ -2858,6 +2858,57 @@ Features:
|
|||
@end itemize")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public go-github-com-danielgtaylor-huma-v2
|
||||
(package
|
||||
(name "go-github-com-danielgtaylor-huma-v2")
|
||||
(version "2.34.1")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/danielgtaylor/huma")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1rwmyxihrdznfn6iqxrb4lmlfijblapnpxavmcgavylixwigyrdk"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:import-path "github.com/danielgtaylor/huma/v2"
|
||||
#:test-flags
|
||||
;; Tests require local network setup.
|
||||
#~(list "-skip" "TestFeatures|TestAdapters/go|ExampleResolver")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'remove-examples
|
||||
(lambda* (#:key import-path #:allow-other-keys)
|
||||
(with-directory-excursion (string-append "src/" import-path)
|
||||
(delete-file-recursively "examples")))))))
|
||||
(native-inputs
|
||||
(list go-github-com-stretchr-testify))
|
||||
(propagated-inputs
|
||||
(list go-github-com-danielgtaylor-shorthand-v2
|
||||
go-github-com-evanphx-json-patch-v5
|
||||
go-github-com-fxamacker-cbor-v2
|
||||
go-github-com-gin-gonic-gin
|
||||
go-github-com-go-chi-chi-v5
|
||||
go-github-com-gofiber-fiber-v2
|
||||
go-github-com-google-uuid
|
||||
go-github-com-gorilla-mux
|
||||
go-github-com-julienschmidt-httprouter
|
||||
go-github-com-labstack-echo-v4
|
||||
go-github-com-spf13-cobra
|
||||
go-github-com-spf13-pflag
|
||||
go-github-com-uptrace-bunrouter))
|
||||
(home-page "https://github.com/danielgtaylor/huma")
|
||||
(synopsis "REST/HTTP API Framework for Golang")
|
||||
(description
|
||||
"This package provides a framework for building REST APIs in Go. It is
|
||||
designed to generate @code{OpenAPI} 3.1 specifications and JSON Schema
|
||||
documents describing the API and providing a quick & easy way to generate
|
||||
docs, mocks, SDKs, CLI clients, and more.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public go-github-com-datadog-datadog-go
|
||||
(package
|
||||
(name "go-github-com-datadog-datadog-go")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue