From patchwork Sun Nov 17 20:45:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 70487 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9AC5327BBEA; Sun, 17 Nov 2024 20:47:36 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9856B27BBE2 for ; Sun, 17 Nov 2024 20:47:35 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCmAl-0000Ms-0A; Sun, 17 Nov 2024 15:47:07 -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 1tCmAh-0000MU-VA for guix-patches@gnu.org; Sun, 17 Nov 2024 15:47:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tCmAh-0008Sy-MZ for guix-patches@gnu.org; Sun, 17 Nov 2024 15:47:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=+62UeoAW9UR0YsHhu1w1qwlOF1zj9S9A/B/ZoTcl2rA=; b=s3/b1QfnPi5NiqpkLVdoccEfAVhxzWKuxj2PwwFOmMnBlHEjxwQm2sgRSs80jt9JuSz9VnxY/fNrVwoXXkjR54Z/q6SMq5pvhYEVjsFmHYKdFQUZB6/zr80VpiXNUYDKQWx/WA7bNIFCROd5tOQ5UlFTT0xVV6CC5JtG0qF1aisac3+CBZqCkbrcD5Jk0huyh6XtW5TAT5Ae07z3nBSe1LnZW2N88cuRJfcj/i11sfkMh38TdwNaKpHpmTSc1hWglTRHZ+YjcKMeEwlMGp8KwwRyhiqU5ohU21vs7vhv7QNWL8AqcAjcNMMgZCzEJQfm3Xk2kZjzQ1GqGCuhJpZzqw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCmAg-0005pP-HA for guix-patches@gnu.org; Sun, 17 Nov 2024 15:47:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74407] [PATCH] gnu: Add spritely-libp2p-daemon. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Nov 2024 20:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74407 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74407@debbugs.gnu.org Cc: Giacomo Leidi X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173187640722374 (code B ref -1); Sun, 17 Nov 2024 20:47:02 +0000 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) Date: Sun, 17 Nov 2024 21:45:57 +0100 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches X-Patchwork-Original-From: Giacomo Leidi via Guix-patches via From: Giacomo Leidi Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ipfs.scm (spritely-libp2p-daemon): New variable. Change-Id: Ic47e24bc53cb8da89be2c064569feae77764a03b --- gnu/packages/ipfs.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) base-commit: d108a7aac2c51f21c55cb8ea8801629a97f5242a 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))))