GNU bug report logs -
#74407
[PATCH] gnu: Add spritely-libp2p-daemon.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 74407 in the body.
You can then email your comments to 74407 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#74407
; Package
guix-patches
.
(Sun, 17 Nov 2024 20:47:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Giacomo Leidi <goodoldpaul <at> autistici.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 17 Nov 2024 20:47:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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 <maximedevos <at> telenet.be>
;;; Copyright © 2023, 2024 Artyom V. Poptsov <poptsov.artyom <at> gmail.com>
;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus <at> gmail.com>
+;;; Copyright © 2024 Giacomo Leidi <goodoldpaul <at> autistici.org>
;;;
;;; 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74407
; Package
guix-patches
.
(Wed, 20 Nov 2024 23:41:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 74407 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/ipfs.scm (spritely-libp2p-daemon): New variable.
Change-Id: Ic47e24bc53cb8da89be2c064569feae77764a03b
---
gnu/packages/ipfs.scm | 54 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index d5849a3f18..8025e99d19 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2022 Maxime Devos <maximedevos <at> telenet.be>
;;; Copyright © 2023, 2024 Artyom V. Poptsov <poptsov.artyom <at> gmail.com>
;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus <at> gmail.com>
+;;; Copyright © 2024 Giacomo Leidi <goodoldpaul <at> autistici.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1217,3 +1218,56 @@ (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 "1g4szjm2rxvrgcir9gdn81bsnybvb7hc3dwymc3yarslwsr1h3qf"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.21
+ #:import-path "gitlab.com/spritely/spritely-libp2p-daemon"
+ #:tests? #f
+ #:install-source? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; libp2p-asn-util uses go://embed to embed a file, but Go
+ ;; does *not* accept files that are symlinks. Guix sets up
+ ;; all dependency files as symlinks, though. To work around
+ ;; this, we delete the symlink and copy over the file to be
+ ;; embedded.
+ (add-after 'unpack 'fix-libp2p-asn-util-embed
+ (lambda _
+ (let ((file-name
+ (string-append
+ "src/github.com/libp2p/go-libp2p-asn-util/"
+ "sorted-network-list.bin")))
+ (delete-file file-name)
+ (copy-file
+ (string-append #$go-github-com-libp2p-go-libp2p-asn-util
+ "/" file-name)
+ file-name)))))))
+ (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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74407
; Package
guix-patches
.
(Sat, 07 Dec 2024 20:31:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 74407 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/ipfs.scm (spritely-libp2p-daemon): New variable.
Change-Id: Ic47e24bc53cb8da89be2c064569feae77764a03b
---
gnu/packages/ipfs.scm | 54 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index d5849a3f18..bed34a21be 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2022 Maxime Devos <maximedevos <at> telenet.be>
;;; Copyright © 2023, 2024 Artyom V. Poptsov <poptsov.artyom <at> gmail.com>
;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus <at> gmail.com>
+;;; Copyright © 2024 Giacomo Leidi <goodoldpaul <at> autistici.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1217,3 +1218,56 @@ (define-public kubo
(define-public go-ipfs
(deprecated-package "go-ipfs" kubo))
+
+(define-public spritely-libp2p-daemon
+ (let ((version "0.1")
+ (commit "f10d8c4bad2a50d6e481c0b57231741d079ffedb")
+ (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 "0bk2610rlg8d4lla7h7sic9drv1syabfbr7kbg2yqqbhiwg0v2br"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:go go-1.21
+ #:import-path "gitlab.com/spritely/spritely-libp2p-daemon"
+ #:tests? #f
+ #:install-source? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; libp2p-asn-util uses go://embed to embed a file, but Go
+ ;; does *not* accept files that are symlinks. Guix sets up
+ ;; all dependency files as symlinks, though. To work around
+ ;; this, we delete the symlink and copy over the file to be
+ ;; embedded.
+ (add-after 'unpack 'fix-libp2p-asn-util-embed
+ (lambda _
+ (let ((file-name
+ (string-append
+ "src/github.com/libp2p/go-libp2p-asn-util/"
+ "sorted-network-list.bin")))
+ (delete-file file-name)
+ (copy-file
+ (string-append #$go-github-com-libp2p-go-libp2p-asn-util
+ "/" file-name)
+ file-name)))))))
+ (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: 006679d1e6ca7acea0629b4f019c8cf89cde08be
--
2.46.0
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Sat, 04 Jan 2025 21:51:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Giacomo Leidi <goodoldpaul <at> autistici.org>
:
bug acknowledged by developer.
(Sat, 04 Jan 2025 21:51:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 74407-done <at> debbugs.gnu.org (full text, mbox):
Giacomo Leidi <goodoldpaul <at> autistici.org> skribis:
> * gnu/packages/ipfs.scm (spritely-libp2p-daemon): New variable.
>
> Change-Id: Ic47e24bc53cb8da89be2c064569feae77764a03b
Applied, thanks!
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 02 Feb 2025 12:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 137 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.