From d25044f4d2cb277104678bef93cc170d7e0aac5d Mon Sep 17 00:00:00 2001 From: jgart via Guix-patches via Date: Mon, 17 Jan 2022 22:06:12 -0500 Subject: [PATCH] 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 --- gnu/packages/golang.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d760f9cda8..4471fea19d 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -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)))