From patchwork Sat Jul 20 15:33:55 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: 29424 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 D6BCB27BBE9; Sat, 20 Jul 2024 16:36:12 +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 6EA4127BBE2 for ; Sat, 20 Jul 2024 16:36:11 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVC7x-00065E-Hz; Sat, 20 Jul 2024 11:36:05 -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-00063b-Fr 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-0001dM-6U 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 1sVC7u-0007J2-Je for guix-patches@gnu.org; Sat, 20 Jul 2024 11:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72211] [PATCH 6/7] gnu: Add go-github-com-ipfs-go-ipfs-blockstore. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 20 Jul 2024 15:36:02 +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.172148970927954 (code B ref 72211); Sat, 20 Jul 2024 15:36:02 +0000 Received: (at 72211) by debbugs.gnu.org; 20 Jul 2024 15:35:09 +0000 Received: from localhost ([127.0.0.1]:53782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVC72-0007Gk-Kg for submit@debbugs.gnu.org; Sat, 20 Jul 2024 11:35:08 -0400 Received: from mail-lf1-f47.google.com ([209.85.167.47]:46401) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sVC71-0007Gb-LK for 72211@debbugs.gnu.org; Sat, 20 Jul 2024 11:35:08 -0400 Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-52e9b9fb3dcso2741630e87.1 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=1721489646; x=1722094446; 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=unI8drStBcTFCry6Wp39Z92ncO/hjVUbMbhnEBBgjz4=; b=Z695MckuP2elZ4wE6q4bXxxpWnAql4VYU9QgxfvZyP7EtBL/Ez/WRdkfC5swPFlEiW A20AR+DfsT10qBYAEMlbSV1l335QNRpUs8u1hWbHJAIyhgsRYxKF6sXSvhbqsMVkFvWc ZK72T/OxCGEujSjxpBM+EYpZ9S5jVRoTjJVTBkB/r+leKQobXIP2JTPQ3aDKcj0LSflt ztwvKlCI+LtD4VeDug1Y4Up9Y/ud5lK7hfoc/30DvX3MgYIHaWIyyt2692aOCYMJwuuZ gwi30smNSuJbAN5YWbV4TIpAiYaqAzDvIVJR/nteoDBLw1VVgXu+p/ucP1ABHYP31m4F dyow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721489646; x=1722094446; 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=unI8drStBcTFCry6Wp39Z92ncO/hjVUbMbhnEBBgjz4=; b=lSjmsoB1T/kQ7p3YsyIq3rdsQZ/x36ILYglShpR7FrkuioOIJznxs0iG9QaZqV04Ll 3KEUrZSHCmzEe3srYYXjiwtYY7qchY6Kx2cIqEw0haAY2hPkE5fmVbiIRgnY2cFokRtX GQZWJzUThrk+Y4HQ4Lfkl9nkeIeLcdSb1uynvBs+tbxG60DvKQ49Ztfu7SJwKjgcYyJu FwY1WHycgSakZbw9OzJDwVp/JmMxDqfQUO0CWRmZL/6Tu8yPt3ngLaf7fIJRN4Tboz8P KSKSWzupOP+299zvqT5bw0eh3vMbkN9vFovNO5uoJ2A8SgQIXGolvvKERjVRLtzcONsi Yb3A== X-Gm-Message-State: AOJu0Yx1boI8MgGH1R+CxFL1pmFdBC/oYktus9fALFhxfLfTAK8TQM4Y U8r649fcmQtYZNE+BETERYlhSm1Y1ceSQLTHeeh/AriYqGyB9NEdXOk4kQ== X-Google-Smtp-Source: AGHT+IFYt3pbBTBAG6dn/NRh1Fb6krK+czdke9e4EVepCduzM6dILulQ+kEG5kpVmC8aifLBFZBFWw== X-Received: by 2002:a05:6512:32c3:b0:52c:c032:538d with SMTP id 2adb3069b0e04-52efb744a32mr1235100e87.27.1721489645260; Sat, 20 Jul 2024 08:34:05 -0700 (PDT) Received: from elephant.. ([95.79.68.33]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52ef5577c7dsm539253e87.272.2024.07.20.08.34.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jul 2024 08:34:04 -0700 (PDT) From: "Artyom V. Poptsov" Date: Sat, 20 Jul 2024 18:33:55 +0300 Message-ID: <2d77f6cf408e022d9fe2300a32c19e87d98ced2e.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-blockstore): New variable. Change-Id: I75b885ec55b5bd8ae274a4832d421bf2de696314 --- gnu/packages/ipfs.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm index 21440b1948..25d3d6212f 100644 --- a/gnu/packages/ipfs.scm +++ b/gnu/packages/ipfs.scm @@ -98,6 +98,44 @@ (define-public go-github-com-ipfs-go-block-format corresponding to the block.") (license license:expat))) +(define-public go-github-com-ipfs-go-ipfs-blockstore + (package + (name "go-github-com-ipfs-go-ipfs-blockstore") + (version "1.3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ipfs/go-ipfs-blockstore") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1a3a0fm8k8njdlq2w795qff01piadjfp6r5r2hww69fxqsplln9l")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.21 + #:import-path "github.com/ipfs/go-ipfs-blockstore")) + (propagated-inputs + (list go-github-com-hashicorp-golang-lru + go-github-com-ipfs-bbloom + go-github-com-ipfs-go-block-format + go-github-com-ipfs-go-cid + go-github-com-ipfs-go-datastore + go-github-com-ipfs-go-ipfs-ds-help + go-github-com-ipfs-go-ipfs-util + go-github-com-ipfs-go-ipld-format + go-github-com-ipfs-go-log + go-github-com-ipfs-go-metrics-interface + go-github-com-multiformats-go-multihash + go-go-uber-org-atomic)) + (home-page "https://github.com/ipfs/go-ipfs-blockstore") + (synopsis "Caching wrapper over a IPFS datastore") + (description + "@code{go-ipfs-blockstore} implements a thin wrapper over an IPFS datastore, +giving a clean interface for getting and putting block objects.") + (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")