From 496e0f10b63a3218cfc86804c8eb38b4d77acd8e Mon Sep 17 00:00:00 2001 From: "Artyom V. Poptsov" Date: Sat, 2 Mar 2024 10:02:54 +0300 Subject: gnu: Add go-github-com-cskr-pubsub. * gnu/packages/golang-xyz.scm (go-github-com-cskr-pubsub): New variable. Change-Id: Ia0a3d5b86cdaad45b6b58af9441b1ea3396ec056 Signed-off-by: Sharlatan Hellseher --- gnu/packages/golang-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 7e6e0aa27b..3fdc88c356 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -537,6 +537,31 @@ its C API."))) (description "Go bindings to systemd for (de)serialization and comparison of unit files."))) +(define-public go-github-com-cskr-pubsub + (package + (name "go-github-com-cskr-pubsub") + (version "2.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cskr/pubsub") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "18kqfdzkfs7z8266a5q5wldwkcvnhc7yw09b9vr8r0s7svy8d5s6")))) + (build-system go-build-system) + (arguments + (list + #:tests? #t ; Tests require network interface access + #:go go-1.18 + #:import-path "github.com/cskr/pubsub")) + (home-page "https://github.com/cskr/pubsub") + (synopsis "Simple pubsub package for go") + (description + "Package @code{pubsub} implements a simple multi-topic pub-sub library.") + (license license:bsd-2))) + (define-public go-github-com-cyberdelia-go-metrics-graphite (package (name "go-github-com-cyberdelia-go-metrics-graphite") -- cgit v1.2.3