sharlatan pushed a commit to branch go-team
in repository guix.
commit d5977e274765693acafed53860e7618f32cfdf6a
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Feb 27 14:54:20 2025 +0000
gnu: Add go-github-com-cskr-pubsub-v2.
* gnu/packages/golang-xyz.scm (go-github-com-cskr-pubsub): Downgrade to
1.0.2 to reflect go.mod path.
(go-github-com-cskr-pubsub-v2): New variable.
Change-Id: Icb3a8ed12d6c1414aecb4552c9001b1861979ffd
---
gnu/packages/golang-xyz.scm | 23 +++++++++++++++++++++--
1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 217e79ace5..31114797ae 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -4055,7 +4055,7 @@ values. It supports almost all kind of types:
@code{int/8/16/32/64},
(define-public go-github-com-cskr-pubsub
(package
(name "go-github-com-cskr-pubsub")
- (version "2.0.2")
+ (version "1.0.2")
(source
(origin
(method git-fetch)
@@ -4064,7 +4064,7 @@ values. It supports almost all kind of types:
@code{int/8/16/32/64},
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0iy85nxrfv6hp4i4mnqayjfx4hci7qyycqbaz4fx8wbd15n9ll66"))))
+ (base32 "0wr8cg5axrlz9xg33r9dqvkp5ix9q8h8c7qw78mj22qprwh3zj9f"))))
(build-system go-build-system)
(arguments
(list
@@ -4075,6 +4075,25 @@ values. It supports almost all kind of types:
@code{int/8/16/32/64},
"Package @code{pubsub} implements a simple multi-topic pub-sub library.")
(license license:bsd-2)))
+(define-public go-github-com-cskr-pubsub-v2
+ (package
+ (inherit go-github-com-cskr-pubsub)
+ (name "go-github-com-cskr-pubsub-v2")
+ (version "2.0.2")
+ (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 "0iy85nxrfv6hp4i4mnqayjfx4hci7qyycqbaz4fx8wbd15n9ll66"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/cskr/pubsub/v2"))))
+
(define-public go-github-com-cyberdelia-go-metrics-graphite
(package
;; No release, see