From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +PttKuXlcWaEoAAAe85BDQ:P1 (envelope-from ) for ; Tue, 18 Jun 2024 19:54:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id +PttKuXlcWaEoAAAe85BDQ (envelope-from ) for ; Tue, 18 Jun 2024 21:54:13 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=hAT0e1sD; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718739996; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ORJrnYgHyQuA66+HDR3XJvpe/bHRpX0SUKpRXg0aUuM=; b=TAmjPx8y1ZU0PMNWvUu4bXdkqOaWhnlHWxL3OxACQQ5S4DdH7qDKfm2tXnts9+frhUNWmY sN5JixT0eG2UPWG1gy21R/ZP2Zi4LW2TMx6owBepfstss62DmrtKzejU7L/Aag4p03hkLb DZqweft+urARAjucT+xZtDVJXpDp9mQke4DNuA9aQXAwU6i1D+0wA6okVZniLhRcM0ncfQ vQUFktJFiZ7rhbxncvtuT6RcnAkTR4tDqiq4rJidMeYKxcazpyR4tyEsouR3VjqHcfUWo8 HUtLrxXSJNnoBBPozF6f7q/CqnxohnN6Ag/FD/AQEHrHwRgVFqMSu5DjHYFZbw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=hAT0e1sD; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718739996; a=rsa-sha256; cv=none; b=lJtt3nX7HYxAmAkaoOEUd8C5bPAM20lj6sTIUiqq80Yq9dUvqFDaOXBt5iftq6WXxlS1hz hHbtgWO3sDEMoLQKjojeLk/U1Ta4qVTF8fFFZJ2NBjnb9D6Dsq2v3D26wU2lm+bkyAlsUl 9lotr76fopnTcpO50vbYar3WIW/jmlR77BewQ98AKxU3v2D/cQUonkfn50fiEXgKy4bcFy qlQt1PuytMWc8jSapqTJHABybYJt9Zakj2ILmTNPMIO9cx79bhPMb5r4gH4V30VekjHFst m3QaBckCHsL1ZT71OArHs2i5zpVlZNoZJn5zhrO80JdwZlceByESx5pby22TrQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 93F6979D80 for ; Tue, 18 Jun 2024 21:46:35 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJemh-0000iZ-92; Tue, 18 Jun 2024 15:46:27 -0400 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 1sJemG-0000a0-Tq for guix-patches@gnu.org; Tue, 18 Jun 2024 15:46:00 -0400 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 1sJemG-0004J7-Cg for guix-patches@gnu.org; Tue, 18 Jun 2024 15:46:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sJemJ-0006eJ-5F for guix-patches@gnu.org; Tue, 18 Jun 2024 15:46:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71636] [PATCH 3/4] gnu: Add go-github-com-ipld-go-ipld-prime. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 18 Jun 2024 19:46:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71636 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71636@debbugs.gnu.org Cc: "Artyom V. Poptsov" Received: via spool by 71636-submit@debbugs.gnu.org id=B71636.171873990725428 (code B ref 71636); Tue, 18 Jun 2024 19:46:03 +0000 Received: (at 71636) by debbugs.gnu.org; 18 Jun 2024 19:45:07 +0000 Received: from localhost ([127.0.0.1]:49890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJelO-0006by-LK for submit@debbugs.gnu.org; Tue, 18 Jun 2024 15:45:07 -0400 Received: from mail-lf1-f44.google.com ([209.85.167.44]:51665) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJelK-0006aU-J9 for 71636@debbugs.gnu.org; Tue, 18 Jun 2024 15:45:03 -0400 Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-52bc3130ae6so6280922e87.3 for <71636@debbugs.gnu.org>; Tue, 18 Jun 2024 12:44:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718739833; x=1719344633; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ORJrnYgHyQuA66+HDR3XJvpe/bHRpX0SUKpRXg0aUuM=; b=hAT0e1sDsWICXzPaKpkInQ4boO0HGBoS63NOlPCbw/5QtBy8OurEtaVFO2kNJkGha3 NE6OKyBEDdaO5AQmms0qArq2HHFtUBe/xM+bErvVEv8oCOoQ5IfjNZpXsFccKCCCNwka +hfxeoXvkFrFC77IuLs8cjqexgnGTF6E/8Fq8G2wQyLEWIU7WL6eqqO9m0Wddq9X2YRw ZujVxLmkAcKM+ZPwjr1AdR/Mhs48LHpvlIfQNWNIrhXT0x1UIJ/0be/lZ/19GrHLo6OZ GNax7rwvZCfixdGSFZwXgTz6eatZ1jToAbG/B4MaAKWhq3+tgvsf0D2GEXp5vDskeLk1 Pb/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718739833; x=1719344633; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ORJrnYgHyQuA66+HDR3XJvpe/bHRpX0SUKpRXg0aUuM=; b=CT72uosDC8dzCUCQOTmg7iGYxX/XW8C5JLAPKhc6LqcPeTduAf+nSxvJrZUJaBrPwv 1iOHCcCaTxc1WvaFmqApAfI/KCcSw0meLrZwXzmR7JRPFwxSbnEtHbKGinYVUwAKmuCy x5epeDEPVFWDMTM2s3+9O2YXNc/+yYfukn12uunHQ/CiFDtdY4VjejdfNR9eupMZsneR 271Pu+K0rsNp+VN2Zbmmv8VZ46ngj1FPvK2P3aOIAD8ExvxskgMCN3+Ej4g7Bt2zcrhY nz8A1RQKd981whCsPsp+PwbMDnI3fWU78HMVnWLq8t6QA/HJcbW/n1O0wL8pioOnb4Px onYw== X-Gm-Message-State: AOJu0Yw2Nh0RzHnXbrdfku4FdJ63yxYFAHt9Ip5dJyLZfrBn9nIE1Z9I TsQalyJgrbmY+iBoJdzegkbFsJTrf09F1YQ4OX4c14HhoEzJaKN1YFCACQ== X-Google-Smtp-Source: AGHT+IHwRYI8KIROjXi/6mgXKI/oMsg963UnxPERPI/7vlPltyW+932uw9v5j2ZnTfG+t8oi1cufHw== X-Received: by 2002:a05:6512:131b:b0:516:d692:5e0b with SMTP id 2adb3069b0e04-52ccaa54b75mr368395e87.54.1718739833183; Tue, 18 Jun 2024 12:43:53 -0700 (PDT) Received: from elephant.. ([95.79.82.148]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52ca2872427sm1595229e87.166.2024.06.18.12.43.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jun 2024 12:43:52 -0700 (PDT) From: "Artyom V. Poptsov" Date: Tue, 18 Jun 2024 22:43:44 +0300 Message-ID: <6350b37fd255d6d6aff1123b73e1830e6231eb1a.1718739586.git.poptsov.artyom@gmail.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: 3.14 X-Migadu-Queue-Id: 93F6979D80 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 3.14 X-TUID: bsyxV5jdx14D * gnu/packages/ipfs.scm (go-github-com-ipld-go-ipld-prime): New variable. Change-Id: Icbf768341fda23154b82f10e3701ce435c9ec6e9 --- gnu/packages/ipfs.scm | 51 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm index 7fb50452b6..b487062672 100644 --- a/gnu/packages/ipfs.scm +++ b/gnu/packages/ipfs.scm @@ -37,7 +37,8 @@ (define-module (gnu packages ipfs) #:use-module (gnu packages golang-web) #:use-module (gnu packages golang-xyz) #:use-module (gnu packages python) - #:use-module (gnu packages shells)) + #:use-module (gnu packages shells) + #:use-module (gnu packages specifications)) (define-public go-github-com-ipfs-go-block-format (package @@ -298,6 +299,54 @@ (define-public go-github-com-ipfs-go-ipld-format order to be a part of the @acronym{IPLD, InterPlanetary Linked Data} merkle-forest.") (license license:expat))) +(define-public go-github-com-ipld-go-ipld-prime + (package + (name "go-github-com-ipld-go-ipld-prime") + (version "0.21.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ipld/go-ipld-prime") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1ycb08h0hvq3mw3sbjkjzp5sfcxmss155jxiv5gjg7myxvzk91ja")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.21 + #:unpack-path "github.com/ipld/go-ipld-prime/" + #:import-path "github.com/ipld/go-ipld-prime/" + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'copy-ipld-specfs + (lambda* (#:key import-path #:allow-other-keys) + (copy-recursively + (string-append #$(this-package-native-input + "specification-ipld") + "/share/ipld/") + (string-append "src/" import-path "/ipld"))))))) + (native-inputs + (list go-github-com-frankban-quicktest + go-github-com-warpfork-go-testmark + specification-ipld)) + (propagated-inputs + (list go-github-com-google-go-cmp-cmp + go-github-com-multiformats-go-multicodec + go-github-com-multiformats-go-multihash + go-github-com-ipfs-go-block-format + go-github-com-ipfs-go-cid + go-github-com-polydawn-refmt + go-gopkg-in-yaml-v2)) + (home-page "https://github.com/ipld/go-ipld-prime") + (synopsis "Golang interfaces for the IPLD Data Model") + (description + "@code{go-ipld-prime} is an implementation of the IPLD spec interfaces, a +batteries-included codec implementations of IPLD for CBOR and JSON, and tooling for +basic operations on IPLD objects (traversals, etc).") + (license license:expat))) + (define-public go-github-com-ipfs-go-ipfs-api (let ((commit "dafc2a13a4389ac1a6c2786e34ab70a4f26d3a3f") -- 2.45.1