From patchwork Sat Apr 6 08:40:42 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: 62768 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 3D31A27BBEB; Sat, 6 Apr 2024 09:42:29 +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 F311F27BBE2 for ; Sat, 6 Apr 2024 09:42:24 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rt1cf-0005Ct-JS; Sat, 06 Apr 2024 04:42:01 -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 1rt1ce-0005Ci-Kp for guix-patches@gnu.org; Sat, 06 Apr 2024 04:42: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 1rt1ce-0002xj-CN for guix-patches@gnu.org; Sat, 06 Apr 2024 04:42:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rt1ck-0005X0-DQ for guix-patches@gnu.org; Sat, 06 Apr 2024 04:42:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70234] [PATCH 4/4] gnu: Add go-github-com-multiformats-go-multibase. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 06 Apr 2024 08:42:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70234 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70234@debbugs.gnu.org Cc: "Artyom V. Poptsov" Received: via spool by 70234-submit@debbugs.gnu.org id=B70234.171239288921040 (code B ref 70234); Sat, 06 Apr 2024 08:42:06 +0000 Received: (at 70234) by debbugs.gnu.org; 6 Apr 2024 08:41:29 +0000 Received: from localhost ([127.0.0.1]:38189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rt1c9-0005TI-1S for submit@debbugs.gnu.org; Sat, 06 Apr 2024 04:41:29 -0400 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:59669) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rt1c4-0005SY-W9 for 70234@debbugs.gnu.org; Sat, 06 Apr 2024 04:41:27 -0400 Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-516d0162fa1so3287148e87.3 for <70234@debbugs.gnu.org>; Sat, 06 Apr 2024 01:41:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712392872; x=1712997672; 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=l6JJ7yYXIB2DVWq5coT0nhs+iASWqA09xmbEoG1WlRM=; b=eMh09050Tbip2JgrKzK6c0qRo4j6bvM4Aif9JsmjCObxn/amH7IgKh6Kjg+nf7/K8+ el3By9UuoWLn/80oE4eAG4ir9HbRChQR/Vvw6b3a/XH/NGNZ9YQrbCTljbchdMIjybSK fsg651MGtlmulwRTQVZ07qwO/2HCY3Vvd/ouQREhKG/PCHDV96yToDwtDZdd6R678e1W EuHx/q8NGSaGFuV3rHkvNeqeYMs0SIc+FxeA8fx69TVy57wUl0XEaP1ZNPkS52FOADol HMkin4yml9qE23pHXswUT3nhEGDrye3t4EcoHo5aZBgClzsyIxOqXB1TUw+oIZm4MRUU rZHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712392872; x=1712997672; 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=l6JJ7yYXIB2DVWq5coT0nhs+iASWqA09xmbEoG1WlRM=; b=lWljM6onRX3Gb9ct3MjTexMUXSakAGhHLBK4D+6HBWEWcxaR/xQJ/66ITSJN0Z0a7I NzE3zXAoYldBKCRcz5VfDzZrqxDUw6fuopNn71ENqj4SKdWNT84Lm7hcuY0U3JB4GHOC SJiPlMgdITdnZu5Q1zSJ4tcZbKnHtvTZiYs//kG6cpzmbuR+gjLHjFUOEz19Yl5l/nJh 2jUzgXMx3jd1V061BFoe5WSpzT7hHmtNjwWRy3Na7R4c/i8ODCUj/OZ0/n9iSnS7Ox+3 kpy1hCRHlPXVElCXLvAr+OyCjQt6q9e1sD1e8jcTBpk1HYenoSE6sGH+97w09F+I6VgK RrKA== X-Gm-Message-State: AOJu0YxE8QVqyoTYCY8OlXfHAWWKk2uv6V6pAvdCC8bIW1Pl1TpVsZf4 k/GG4bb94fgUUP+Zncj7gvmrkGA80DCWPQ9PDCQE1Qd/ZhVZ2itwJFnLMn3q X-Google-Smtp-Source: AGHT+IFdS/0QfmJmfh3HrISXWOudFHVV9/W7nyRubL5ZylWntimShJaJFP9R/u+XCLmTcMPDN/fFtQ== X-Received: by 2002:a19:6a0a:0:b0:516:d0ec:5308 with SMTP id u10-20020a196a0a000000b00516d0ec5308mr2980896lfu.10.1712392872405; Sat, 06 Apr 2024 01:41:12 -0700 (PDT) Received: from elephant.. ([5.166.209.213]) by smtp.gmail.com with ESMTPSA id a8-20020a056512020800b00516d2d9ddc7sm421383lfo.43.2024.04.06.01.41.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Apr 2024 01:41:11 -0700 (PDT) From: "Artyom V. Poptsov" Date: Sat, 6 Apr 2024 11:40:42 +0300 Message-ID: X-Mailer: git-send-email 2.41.0 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/golang-xyz.scm (go-github-com-multiformats-go-multibase): New variable. Change-Id: If634f1497d628a23f2c2ebb1e8e9f6526faa3f3f --- gnu/packages/golang-xyz.scm | 39 ++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 5395935c41..7c39f64640 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -56,7 +56,8 @@ (define-module (gnu packages golang-xyz) #:use-module (gnu packages golang-check) #:use-module (gnu packages golang-compression) #:use-module (gnu packages golang-crypto) - #:use-module (gnu packages linux)) + #:use-module (gnu packages linux) + #:use-module (gnu packages specifications)) ;;; Commentary: ;;; @@ -1808,6 +1809,42 @@ (define-public go-github-com-multiformats-go-base36 "Optimized codec for @code{[]byte} <=> @code{base36} string conversion.") (license (list license:asl2.0 license:expat)))) +(define-public go-github-com-multiformats-go-multibase + (package + (name "go-github-com-multiformats-go-multibase") + (version "0.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/multiformats/go-multibase") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "11za5yqiq9bkxfg0lvjzgr5d0kawkf2szxj90by9vfnalihqgkrr")))) + (build-system go-build-system) + (arguments + (list + #:go go-1.21 + #:import-path "github.com/multiformats/go-multibase" + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'copy-multibase-specs + (lambda _ + (copy-recursively (string-append #$(this-package-native-input + "specification-multibase") + "/share/multibase/") + "src/github.com/multiformats/go-multibase/spec")))))) + (native-inputs (list specification-multibase)) + (inputs (list go-github-com-mr-tron-base58 + go-github-com-multiformats-go-base32 + go-github-com-multiformats-go-base36)) + (home-page "https://github.com/multiformats/go-multibase") + (synopsis "Implementation of multibase parser in Go") + (description + "Implementation of @url{https://github.com/multiformats/multibase, +multibase} (self identifying base encodings) in Go.") + (license license:expat))) + (define-public go-github-com-multiformats-go-varint (package (name "go-github-com-multiformats-go-varint")