Subject: bug#74407: closed (Re: [bug#74407] [PATCH v3] gnu: Add spritely-libp2p-daemon.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 04 Jan 2025 21:51:02 +0000

Your bug report

#74407: [PATCH] gnu: Add spritely-libp2p-daemon.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
74407: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74407
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#74407] [PATCH v3] gnu: Add spritely-libp2p-daemon.
From: Ludovic Courtès <[email-masked]>
To: Giacomo Leidi <[email-masked]>
Cc: [email-masked]
Date: Sat, 04 Jan 2025 22:50:31 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Giacomo Leidi <[email-masked]> skribis:

> * gnu/packages/ipfs.scm (spritely-libp2p-daemon): New variable.
>
> Change-Id: Ic47e24bc53cb8da89be2c064569feae77764a03b

Applied, thanks!

Subject: [PATCH] gnu: Add spritely-libp2p-daemon.
From: Giacomo Leidi <[email-masked]>
To: [email-masked]
Cc: Giacomo Leidi <[email-masked]>
Date: Sun, 17 Nov 2024 21:45:57 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/ipfs.scm (spritely-libp2p-daemon): New variable.

Change-Id: Ic47e24bc53cb8da89be2c064569feae77764a03b
---
 gnu/packages/ipfs.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index d5849a3f18..8cff215e64 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2022 Maxime Devos <[email-masked]>
 ;;; Copyright © 2023, 2024 Artyom V. Poptsov <[email-masked]>
 ;;; Copyright © 2024 Sharlatan Hellseher <[email-masked]>
+;;; Copyright © 2024 Giacomo Leidi <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1217,3 +1218,37 @@ (define-public kubo
 
 (define-public go-ipfs
   (deprecated-package "go-ipfs" kubo))
+
+(define-public spritely-libp2p-daemon
+  (let ((version "0.1")
+        (commit "ae96196af1b68a5e23e58fa4afa818878b252a3d")
+        (revision "0"))
+    (package
+      (name "spritely-libp2p-daemon")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://gitlab.com/spritely/go-libp2p-daemon.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0dcdn7nlysynl7yrbivv8m7j83jq7pabhcff8mvfjdk583rgnkp2"))))
+      (build-system go-build-system)
+      (arguments
+       (list
+        #:go go-1.21
+        #:import-path "gitlab.com/spritely/spritely-libp2p-daemon"
+        #:tests? #f))
+      (propagated-inputs
+       (list go-github-com-libp2p-go-libp2p
+             go-github-com-libp2p-go-libp2p-peer
+             go-github-com-libp2p-go-libp2p-crypto
+             go-github-com-multiformats-go-multiaddr))
+      (home-page "https://gitlab.com/spritely/go-libp2p-daemon")
+      (synopsis "Simple daemon to connect over libp2p")
+      (description "This package provides a very simple daemon to interface to
+from other programming languages.  It's designed to fulfill the needs of
+Spritely's Goblins library to support libp2p as a netlayer.")
+      (license license:asl2.0))))

base-commit: d108a7aac2c51f21c55cb8ea8801629a97f5242a
-- 
2.46.0