From 0686a568c2a840dd92e6d9367f69bfe2df95d3ec Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sat, 28 Jan 2023 15:53:46 +0800 Subject: [PATCH] rosenthal: Add go-github-com-gin-gonic-gin. * rosenthal/packages/golang.scm (go-github-com-gin-gonic-gin): New variable. --- rosenthal/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/rosenthal/packages/golang.scm b/rosenthal/packages/golang.scm index b85e709..c4267c4 100644 --- a/rosenthal/packages/golang.scm +++ b/rosenthal/packages/golang.scm @@ -33,6 +33,38 @@ "This package provides a Server-Sent Events implementation in Go.") (license license:expat))) +(define-public go-github-com-gin-gonic-gin + (package + (name "go-github-com-gin-gonic-gin") + (version "1.8.2") + (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 + "1wijl9f65pmdl1lwlp8lm2fl3znwzarr1v0khz5zpp4jrrchnq9b")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/gin-gonic/gin")) + (propagated-inputs + (list go-github-com-gin-contrib-sse + go-github-com-go-playground-validator-v10 + 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-v2)) + (native-inputs + (list go-github-com-stretchr-testify)) + (home-page "https://gin-gonic.com/") + (synopsis "HTTP web framework written in Go") + (description "Gin is a HTTP web framework written in Go.") + (license license:expat))) + (define-public go-github-com-go-playground-assert-v2 (package (name "go-github-com-go-playground-assert-v2")