From unknown Fri Jun 20 07:09:15 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#74407 <74407@debbugs.gnu.org> To: bug#74407 <74407@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add spritely-libp2p-daemon. Reply-To: bug#74407 <74407@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:09:15 +0000 retitle 74407 [PATCH] gnu: Add spritely-libp2p-daemon. reassign 74407 guix-patches submitter 74407 Giacomo Leidi severity 74407 normal tag 74407 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 17 15:46:47 2024 Received: (at submit) by debbugs.gnu.org; 17 Nov 2024 20:46:47 +0000 Received: from localhost ([127.0.0.1]:58796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCmAQ-0005om-RJ for submit@debbugs.gnu.org; Sun, 17 Nov 2024 15:46:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:34216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCmAL-0005oT-CZ for submit@debbugs.gnu.org; Sun, 17 Nov 2024 15:46:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCmAL-0000Kj-3W for guix-patches@gnu.org; Sun, 17 Nov 2024 15:46:41 -0500 Received: from confino.investici.org ([2a11:7980:1::2:0]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCmAI-0008Ek-UO for guix-patches@gnu.org; Sun, 17 Nov 2024 15:46:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1731876391; bh=+62UeoAW9UR0YsHhu1w1qwlOF1zj9S9A/B/ZoTcl2rA=; h=From:To:Cc:Subject:Date:From; b=L2/ojCO0eUli7ecNYxCPAXPEh3c6TbUxI20goFlsVYgmgi+HckNOapks8jwwAx9Jc gz7FSU/i3TB9YMwA7lSk73iXEk168gAXEwDKqbEq4QIA9vWIpMgbldhWlTSz9YpKSA 3BfGVQC0GeIzPhXhprz6LQVH8jPYNu37wT5xGnqs= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4Xs2qC1hThz10yF; Sun, 17 Nov 2024 20:46:31 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Xs2qB5xQ7z10y2; Sun, 17 Nov 2024 20:46:30 +0000 (UTC) From: Giacomo Leidi To: guix-patches@gnu.org Subject: [PATCH] gnu: Add spritely-libp2p-daemon. Date: Sun, 17 Nov 2024 21:45:57 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a11:7980:1::2:0; envelope-from=goodoldpaul@autistici.org; helo=confino.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Giacomo Leidi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * 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 ;;; Copyright © 2023, 2024 Artyom V. Poptsov ;;; Copyright © 2024 Sharlatan Hellseher +;;; Copyright © 2024 Giacomo Leidi ;;; ;;; 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 20 18:40:25 2024 Received: (at 74407) by debbugs.gnu.org; 20 Nov 2024 23:40:25 +0000 Received: from localhost ([127.0.0.1]:48277 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDuJ7-0007Ci-DM for submit@debbugs.gnu.org; Wed, 20 Nov 2024 18:40:25 -0500 Received: from confino.investici.org ([93.190.126.19]:29627) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDuJ4-0007CZ-To for 74407@debbugs.gnu.org; Wed, 20 Nov 2024 18:40:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1732146021; bh=RC6w3Ptp4wKBf+7ITfsqadUVulHJvU4HGIE5FPomTYY=; h=From:To:Cc:Subject:Date:From; b=PBoyl95hhIq8UP2HQrmmBESdvn9VGtJYULZ358yih9YML0mBxiCu1TsN3g+Bpl175 t+2JT9ghz1EynPvCOfsSxQ+mYs5enPtcS1sDT3Q6ZP/2GexytZ59Z+e6hSm1qHHy2o TDFhtgalYxqqCzFVEpufgbf8+DVYnB24rgW3tFpU= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XtyXP3kQmz111v; Wed, 20 Nov 2024 23:40:21 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4XtyXP2t3vz111b; Wed, 20 Nov 2024 23:40:21 +0000 (UTC) From: Giacomo Leidi To: 74407@debbugs.gnu.org Subject: [PATCH v2] gnu: Add spritely-libp2p-daemon. Date: Thu, 21 Nov 2024 00:40:07 +0100 Message-ID: <060c9d80a646cfe6e7673cfb77dee4f466bb077f.1732146007.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 74407 Cc: Giacomo Leidi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * 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 ;;; Copyright © 2023, 2024 Artyom V. Poptsov ;;; Copyright © 2024 Sharlatan Hellseher +;;; Copyright © 2024 Giacomo Leidi ;;; ;;; 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 07 15:30:10 2024 Received: (at 74407) by debbugs.gnu.org; 7 Dec 2024 20:30:10 +0000 Received: from localhost ([127.0.0.1]:48673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tK1RK-0001L9-4j for submit@debbugs.gnu.org; Sat, 07 Dec 2024 15:30:10 -0500 Received: from confino.investici.org ([93.190.126.19]:48749) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tK1RH-0001Jj-72 for 74407@debbugs.gnu.org; Sat, 07 Dec 2024 15:30:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1733603405; bh=cKQBhhBehLR7cvSLvS92TlMI12Z6phUCf7WllX10dLA=; h=From:To:Cc:Subject:Date:From; b=fXjeEDxUK68Zx1938t0Ezp22fK4KWnqePQ3vphzsYQEgK/iAV4M3dcVZ0TIzgFHvA ZBQliqMXvdGdv0795XYAJBPiXTXc9FeGNSVUYggnVisYC29pRW55ejBjmPkkS+1lOP rwdlLmNzXRYv6w9gmNZV6PcD2T1OBiAo2LO1GD6E= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4Y5KW169PXz111m; Sat, 7 Dec 2024 20:30:05 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4Y5KW1575Bz1112; Sat, 7 Dec 2024 20:30:05 +0000 (UTC) From: Giacomo Leidi To: 74407@debbugs.gnu.org Subject: [PATCH v3] gnu: Add spritely-libp2p-daemon. Date: Sat, 7 Dec 2024 21:29:46 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 74407 Cc: Giacomo Leidi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) * 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 ;;; Copyright © 2023, 2024 Artyom V. Poptsov ;;; Copyright © 2024 Sharlatan Hellseher +;;; Copyright © 2024 Giacomo Leidi ;;; ;;; 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 04 16:50:43 2025 Received: (at 74407-done) by debbugs.gnu.org; 4 Jan 2025 21:50:43 +0000 Received: from localhost ([127.0.0.1]:57747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUC2d-0006yb-A4 for submit@debbugs.gnu.org; Sat, 04 Jan 2025 16:50:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35488) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUC2a-0006yH-Gc for 74407-done@debbugs.gnu.org; Sat, 04 Jan 2025 16:50:41 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUC2U-0004n8-2N; Sat, 04 Jan 2025 16:50:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=KTqkVjKXZtFFShon7c14Nn5aMoh/6r1QnUcnVzhgwL4=; b=r0rqHoFsI5yM0vF+K2Nf apsFtIHJeSpIFuUDgvu/iiDfBoShjwuKOL+UFVrFo1wHwM2MznP4YBb/DXfNoxvGGTIrDfCgySiwA ANBtnzzKRbX8WHF2COXNe+FIbg/fADk3PwJbi6Dh5z8D/mno60rC9Lk52veRyWsaui3b5if5H4/S1 vB6tNo6x4YGeWZDmSScbFKW87+l2f+3iS+tbL2cv39wkbqw9eCZygwpbpHN78QmvZzYFgs2Os8YsT ZhYuYhkgVoO2g232DgOTG5NJRoFElg0afGcJHdEPaCupAeliasTSji5BXg3OuGMqsZ/ih5+I4C2fD 05h5pk8NBVczwA==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Giacomo Leidi Subject: Re: [bug#74407] [PATCH v3] gnu: Add spritely-libp2p-daemon. In-Reply-To: (Giacomo Leidi's message of "Sat, 7 Dec 2024 21:29:46 +0100") References: Date: Sat, 04 Jan 2025 22:50:31 +0100 Message-ID: <87wmfant94.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74407-done Cc: 74407-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Giacomo Leidi skribis: > * gnu/packages/ipfs.scm (spritely-libp2p-daemon): New variable. > > Change-Id: Ic47e24bc53cb8da89be2c064569feae77764a03b Applied, thanks! From unknown Fri Jun 20 07:09:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 02 Feb 2025 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator