From patchwork Sat Jul 20 15:33:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Artyom V. Poptsov" X-Patchwork-Id: 29428 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 3360627BBE9; Sat, 20 Jul 2024 16:36:35 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable 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 8E94027BBE2 for ; Sat, 20 Jul 2024 16:36:33 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVC7w-00064Q-5Y; Sat, 20 Jul 2024 11:36:04 -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 1sVC7u-00063m-UG for guix-patches@gnu.org; Sat, 20 Jul 2024 11:36:02 -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 1sVC7u-0001dS-ME for guix-patches@gnu.org; Sat, 20 Jul 2024 11:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sVC7v-0007JA-32 for guix-patches@gnu.org; Sat, 20 Jul 2024 11:36:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72211] [PATCH 1/7] gnu: Add go-github-com-ipfs-go-ipfs-blocksutil. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 Jul 2024 15:36:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72211 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72211@debbugs.gnu.org Cc: "Artyom V. Poptsov" Received: via spool by 72211-submit@debbugs.gnu.org id=B72211.172148971227980 (code B ref 72211); Sat, 20 Jul 2024 15:36:03 +0000 Received: (at 72211) by debbugs.gnu.org; 20 Jul 2024 15:35:12 +0000 Received: from localhost ([127.0.0.1]:53787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVC76-0007HD-0i for submit@debbugs.gnu.org; Sat, 20 Jul 2024 11:35:12 -0400 Received: from mail-lf1-f51.google.com ([209.85.167.51]:51305) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVC72-0007GF-0a for 72211@debbugs.gnu.org; Sat, 20 Jul 2024 11:35:08 -0400 Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-52e9c55febcso3728937e87.2 for <72211@debbugs.gnu.org>; Sat, 20 Jul 2024 08:35:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721489641; x=1722094441; 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=/hVhLtfC6fqn3c6kWN9715K/NqaYH8G03eSrlVWv+bE=; b=ORA+RFvyEeUcK1O2GKUMSqhgAUoCKoJ6BVkM0FyCUvG5ho1L4goPKTs/Pf+54s4VHI fLXaBnGdjJ83uo49pXY/qfC/cgDOiBVEvxBpXLkpaPcuBvmxFGglbkV6SF0CmsoeufhC VCYKi8FJadV5x+qNFULAyT1uAVvHiUHD3x3mmQKQLuFYXVUusWKr6STs4vJOCErdkMxO 2QAKvrhJc6/E7kkMdOGdoAkLhzzIvVtLPT/NbBbT+SlSiltRn3sLlAqXMYbpyoegbz6d ygbgvea9cNNMDRYACmGavpLkkIzbFc12rlruOqrxOJS0mvjjQrRxoPFYQUeUHifbUbvL RIOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721489641; x=1722094441; 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=/hVhLtfC6fqn3c6kWN9715K/NqaYH8G03eSrlVWv+bE=; b=UIMUK6QrlGOl7SVKecAyNBtLO+J+tk2eL61frJcuqX/scpGobf5wJPlnEq0gn48dag ypyjre1+6Czk8PICUkI8qUXraqCALzitNTs5tJcysR8wTKlU6VWAyK4QjUk52MKzbqrF oQs1tc0yy6rQNiGDfL6crgmY9hnkguA82D21T79U+4kAouvVjB9K22jse/7qY3Z8ycwg AwVSRawP2UnNn/jIc+m9L5KsLu0XuokUQSHBWxlXqXkC7uxJ9SaW2xVA6sTT1+zv8v6C cuJ8p9VTj/gRyL+leyzvC2WTQ2gAylRbzN3zUFJpU37XMygvTfN563RmkbdzjDkoINmz zEFw== X-Gm-Message-State: AOJu0YzoPMlECDLjSFWTTw7mzQX6FjiQQxywFeHjUYL0Ntmfwr7TC1Ec TzKLntGGgk+Ozm9bhSsw0UKW3w+BT0z7EPAmMO5ptboG3M2ggcCqz7UhUg== X-Google-Smtp-Source: AGHT+IH8aduXygWPDg8bplwud/uPRy7gfqIZ8MGXb9Ylt67tBiWEqdEGrhHvk8Sc5ynskGoY7gRRZQ== X-Received: by 2002:a05:6512:1047:b0:52b:c27c:ea1f with SMTP id 2adb3069b0e04-52efb7f8103mr1164855e87.55.1721489640654; Sat, 20 Jul 2024 08:34:00 -0700 (PDT) Received: from elephant.. ([95.79.68.33]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52ef5577c7dsm539253e87.272.2024.07.20.08.33.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jul 2024 08:34:00 -0700 (PDT) From: "Artyom V. Poptsov" Date: Sat, 20 Jul 2024 18:33:50 +0300 Message-ID: <6d0852d5aa9073961a3cbde95ea7b87e7e0e6216.1721486984.git.poptsov.artyom@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 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+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 (go-github-com-ipfs-go-ipfs-blocksutil): New variable. Change-Id: I64c8f6a6d2337b40fa24e478ba49a590abced8ec --- gnu/packages/ipfs.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm index 82d8914250..01b020a14c 100644 --- a/gnu/packages/ipfs.scm +++ b/gnu/packages/ipfs.scm @@ -72,6 +72,35 @@ (define-public go-github-com-ipfs-go-block-format corresponding to the block.") (license license:expat))) +(define-public go-github-com-ipfs-go-ipfs-blocksutil + ;; Use the latest commit from the "master" branch to fix the build with go-1.21. + (let ((commit "ce0497f5ee55c479db98905aec8ff56c27aad2a2") + (revision "0")) + (package + (name "go-github-com-ipfs-go-ipfs-blocksutil") + (version (git-version "0.0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ipfs/go-ipfs-blocksutil") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1ya6376wphp51rv48nmv4jw3x0mf6ym5yx1650fbkp5l5crqpdb8")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.21 + #:import-path "github.com/ipfs/go-ipfs-blocksutil")) + (propagated-inputs (list go-github-com-ipfs-go-block-format)) + (home-page "https://github.com/ipfs/go-ipfs-blocksutil") + (synopsis "Utility functions for working with IPFS blocks") + (description + "Package @code{go-ipfs-blocksutil} provides provides utility functions for +working with @url{https://github.com/ipfs/go-block-format, IPFS blocks}.") + (license license:expat)))) + (define-public go-github-com-ipfs-go-cid (package (name "go-github-com-ipfs-go-cid")