gnu: Add go-github-com-gin-gonic-gin.

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

Change-Id: If4b1eb590f0dc26210597d7f52854ef4832ea46e
This commit is contained in:
Sharlatan Hellseher 2024-12-26 20:57:30 +00:00
parent ad0363bc57
commit d01a87dd25
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1925,6 +1925,55 @@ (define-public go-github-com-gin-contrib-sse
of HTML5[1] by the W3C}.")
(license license:expat)))
(define-public go-github-com-gin-gonic-gin
(package
(name "go-github-com-gin-gonic-gin")
(version "1.10.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/gin-gonic/gin")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "01xjvw2d46b77jnszgbwqbdzh9jx7y3h5ik3q30y9dn9gaq5mhks"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/gin-gonic/gin"))
(native-inputs
(list go-github-com-stretchr-testify))
(propagated-inputs
(list go-github-com-bytedance-sonic
go-github-com-gin-contrib-sse
go-github-com-go-playground-validator-v10
go-github-com-goccy-go-json
go-github-com-json-iterator-go
go-github-com-mattn-go-isatty
go-github-com-pelletier-go-toml-v2
go-github-com-ugorji-go-codec
go-golang-org-x-net
go-google-golang-org-protobuf
go-gopkg-in-yaml-v3))
(home-page "https://github.com/gin-gonic/gin")
(synopsis "HTTP web framework")
(description
"This package provides a Golang web framework wit martini-like API.
Features:
@itemize
@item zero allocation router
@item middleware support
@item crash-free
@item JSON validation
@item routes grouping
@item error management
@item rendering built-in
@item extendable
@end itemize")
(license license:expat)))
(define-public go-github-com-go-chi-chi-v5
(package
(name "go-github-com-go-chi-chi-v5")