gnu: Add go-github-com-go-chi-chi-v5.

* gnu/packages/golang.scm (go-github-com-go-chi-chi-v5): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
jgart via Guix-patches via 2022-01-17 22:06:12 -05:00 committed by Nicolas Goaziou
parent 61f1ec9f60
commit d25044f4d2
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -9625,3 +9625,26 @@ (define-public go-github-com-dreamacro-go-shadowsocks2
@item TCP tunneling (e.g. benchmark with iperf3)
@end itemize")
(license license:asl2.0)))
(define-public go-github-com-go-chi-chi-v5
(package
(name "go-github-com-go-chi-chi-v5")
(version "5.0.7")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/go-chi/chi")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0rzrsxz4xj0973c6nxklvq2vmg2m795snhk25836i0gnd1jnx79k"))))
(build-system go-build-system)
(arguments
'(#:import-path "github.com/go-chi/chi/v5"))
(home-page "https://github.com/go-chi/chi")
(synopsis "Composable router for HTTP services written in Go")
(description
"@code{go-github-com-go-chi-chi-v5} is an HTTP router that lets the user
decompose request handling into many smaller layers.")
(license license:expat)))