all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#69499] [PATCH] gnu: Add go-github-com-cskr-pubsub.
@ 2024-03-02  7:06 Artyom V. Poptsov
  2024-03-07  0:03 ` bug#69499: " Sharlatan Hellseher
  0 siblings, 1 reply; 2+ messages in thread
From: Artyom V. Poptsov @ 2024-03-02  7:06 UTC (permalink / raw)
  To: 69499


[-- Attachment #1.1: Type: text/plain, Size: 55 bytes --]

Hello,

this patch adds go-github-com-cskr-pubsub. [1]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-go-github-com-cskr-pubsub.patch --]
[-- Type: text/x-diff, Size: 1997 bytes --]

From bea4fb11199b35d9213d7702305c621a8dd8de3d Mon Sep 17 00:00:00 2001
Message-ID: <bea4fb11199b35d9213d7702305c621a8dd8de3d.1709362980.git.poptsov.artyom@gmail.com>
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Sat, 2 Mar 2024 10:02:54 +0300
Subject: [PATCH] gnu: Add go-github-com-cskr-pubsub.

* gnu/packages/golang-xyz.scm (go-github-com-cskr-pubsub): New variable.

Change-Id: Ia0a3d5b86cdaad45b6b58af9441b1ea3396ec056
---
 gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index e68948e495..8cea423941 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -503,6 +503,30 @@ (define-public go-github-com-coreos-go-systemd-unit
     (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
+     `(#: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")

base-commit: 9038a46751c5090246e64b63ff752064833c435b
-- 
2.41.0


[-- Attachment #1.3: Type: text/plain, Size: 579 bytes --]


The package is required to build "boxo" package[2] which in turn is
required for the newer versions of Kubo (IPFS.) [3]

Thanks,
- avp

References:
1. https://github.com/cskr/pubsub
2. https://github.com/ipfs/boxo/blob/89248079aaf6689e010d5ea1dd689ed717f0c8b6/go.mod#L10
3. https://github.com/ipfs/kubo/blob/096f510ab206c119693f145bc3331eeb33a69e07/go.mod#L20

-- 
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 869 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#69499: [PATCH] gnu: Add go-github-com-cskr-pubsub.
  2024-03-02  7:06 [bug#69499] [PATCH] gnu: Add go-github-com-cskr-pubsub Artyom V. Poptsov
@ 2024-03-07  0:03 ` Sharlatan Hellseher
  0 siblings, 0 replies; 2+ messages in thread
From: Sharlatan Hellseher @ 2024-03-07  0:03 UTC (permalink / raw)
  To: 69499-done

[-- Attachment #1: Type: text/plain, Size: 72 bytes --]


Pushed as 496e0f10b63a3218cfc86804c8eb38b4d77acd8e to master.

--
Oleg

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-07  0:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-02  7:06 [bug#69499] [PATCH] gnu: Add go-github-com-cskr-pubsub Artyom V. Poptsov
2024-03-07  0:03 ` bug#69499: " Sharlatan Hellseher

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.