From 10d79c16f3217e7a002ce9aeb49bafd0aa24692c Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sat, 28 Jan 2023 15:40:20 +0800 Subject: [PATCH] rosenthal: Add go-github-com-gin-contrib-sse. * rosenthal/packages/golang.scm (go-github-com-gin-contrib-sse): New variable. --- rosenthal/packages/golang.scm | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/rosenthal/packages/golang.scm b/rosenthal/packages/golang.scm index a4ff44b..94133ff 100644 --- a/rosenthal/packages/golang.scm +++ b/rosenthal/packages/golang.scm @@ -6,7 +6,32 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix build-system go) #:use-module (guix git-download) - #:use-module (guix packages)) + #:use-module (guix packages) + #:use-module (gnu packages golang)) + +(define-public go-github-com-gin-contrib-sse + (package + (name "go-github-com-gin-contrib-sse") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gin-contrib/sse") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "072nq91a65n5xvwslqjyvydfd0mfpnvb3vwjyfvmzm1ym96wr1nd")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/gin-contrib/sse")) + (native-inputs + (list go-github-com-stretchr-testify)) + (home-page "https://github.com/gin-contrib/sse") + (synopsis "Server-Sent Events implementation in Go") + (description + "This package provides a Server-Sent Events implementation in Go.") + (license license:expat))) (define-public go-github-com-google-gopacket (package