From patchwork Sat Jan 20 09:57:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 59179 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 8ECCF27BBE2; Sat, 20 Jan 2024 09:59:47 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,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 29BF327BBE9 for ; Sat, 20 Jan 2024 09:59:43 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rR882-0004zu-UC; Sat, 20 Jan 2024 04:59:06 -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 1rR881-0004zj-OQ for guix-patches@gnu.org; Sat, 20 Jan 2024 04:59:05 -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 1rR881-0000iR-GP for guix-patches@gnu.org; Sat, 20 Jan 2024 04:59:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rR884-000566-3p; Sat, 20 Jan 2024 04:59:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68605] [PATCH 03/38] gnu: go-github-com-multiformats-go-multihash: Move to (gnu packages golang-crypto). Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: cox.katherine.e+guix@gmail.com, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Sat, 20 Jan 2024 09:59:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68605 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68605@debbugs.gnu.org Cc: Sharlatan Hellseher , Katherine Cox-Buday , Sharlatan Hellseher X-Debbugs-Original-Xcc: Katherine Cox-Buday , Sharlatan Hellseher Received: via spool by 68605-submit@debbugs.gnu.org id=B68605.170574474319488 (code B ref 68605); Sat, 20 Jan 2024 09:59:07 +0000 Received: (at 68605) by debbugs.gnu.org; 20 Jan 2024 09:59:03 +0000 Received: from localhost ([127.0.0.1]:60932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rR87x-00053u-L5 for submit@debbugs.gnu.org; Sat, 20 Jan 2024 04:59:02 -0500 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:52495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rR87o-00051i-Pn for 68605@debbugs.gnu.org; Sat, 20 Jan 2024 04:58:55 -0500 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40e87d07c07so19035355e9.1 for <68605@debbugs.gnu.org>; Sat, 20 Jan 2024 01:58:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705744724; x=1706349524; 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=eBhDs+WrdzVjbXQ7+QfV0xCfSk3EOrSmSDBXX2cK2PI=; b=cdmDrFTGiJgvk0A+ZDbs0h5PZO3zgDQUxWVjgV7xS788PMOT07vOVyQtsFdizmP81E HyLHdnTqe8oqDvpXAOmWdka/j/SsHPfzto4I6dbph/KavDe/vMB0uh/NK67M3nbGv+Q6 bVMc7Hx3m5y/a7ZJGJd0Sjs3yhrfSrv5XNWI4+oHnufn5aUmct0hoFolyvP04r1pepdA Qk8yX2xA0+bC9D5rVyGk1YtP2V+AX2KDxA7QsE7mwhwsRyRumgJqMOosrmacyNVJVhqG NenRKpi9FSOMz/WXOIcGXAkovc5EvEnoPNSFh35UNzTQTuurVcF8CEu+XUtL/uvXI/7e /bHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705744724; x=1706349524; 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=eBhDs+WrdzVjbXQ7+QfV0xCfSk3EOrSmSDBXX2cK2PI=; b=TyjB+gQCHPiPHBfdfaSw08uLlqqD9COQEbFb1n6H9VMELTeS9L9LWYQv/nLsc4bCOt /f8NxLlyiu58PgC/JptD+fjYGMEd6088XbjnypIJC3QW7Rc3F1aosCOcztEzv8/Vp8gm pHTFPSWcEysXJuEJ3RVKVhJzGHn5DkNahgIWBPUqzqnhUrbp/OWZOmdVo1Bmjqtjfk0I 5/9eX8vK0UVLSoo6HirhhTXte+Wxe7mcjoaEvtWSz7TBcQSBNt3yxLsWvCtxKYB4RoIA PZQGiZl8YETTej9B/jyjJY/S1tZv+HaC4eUxmEFVg5/RevcahPtfqIM+NmShJWeWlmdc 99yw== X-Gm-Message-State: AOJu0Yxe16XCiLUUsP7P5gygSL0svTnlVrZ9axzzNJ91voEqrZDKSgqv pLaB6jyhhWGN2wXy4GK5krNUa2ZEcVZXXfFWPKyMucCMAuW6kh3IUOzqFAfV/SA= X-Google-Smtp-Source: AGHT+IGd5FSWKmAyDJlxc541/fREfS5ie7spwqH3YVrvjUHhy9iB/Lf+bdIkMn3XV26ikdQPGzkeKA== X-Received: by 2002:a05:600c:a006:b0:40e:8d91:bcca with SMTP id jg6-20020a05600ca00600b0040e8d91bccamr621792wmb.119.1705744724176; Sat, 20 Jan 2024 01:58:44 -0800 (PST) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id f6-20020a05600c4e8600b0040d6ffae526sm36066695wmq.39.2024.01.20.01.58.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Jan 2024 01:58:43 -0800 (PST) From: Sharlatan Hellseher Date: Sat, 20 Jan 2024 09:57:55 +0000 Message-ID: <58b904196d8c9fc73e60304657bcd442f649a714.1705743627.git.sharlatanus@gmail.com> 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.scm (go-github-com-multiformats-go-multihash): Move from here ... * gnu/packages/golang-crypto.scm: ... to here. * gnu/packages/ipfs.scm: Add (gnu packages golang-crypto) to used modules. * gnu/packages/golang.scm: ... as above. Change-Id: I153be971141cf60390d03bf589c5121d9554cf9a --- gnu/packages/golang-crypto.scm | 31 +++++++++++++++++++++++++++++++ gnu/packages/golang.scm | 32 +------------------------------- gnu/packages/ipfs.scm | 1 + 3 files changed, 33 insertions(+), 31 deletions(-) diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm index 38ccc5ffe9..96e12a1194 100644 --- a/gnu/packages/golang-crypto.scm +++ b/gnu/packages/golang-crypto.scm @@ -1,4 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2018 Pierre Neidhardt ;;; ;;; This file is part of GNU Guix. ;;; @@ -36,6 +37,36 @@ (define-module (gnu packages golang-crypto) ;;; ;;; Code: +(define-public go-github-com-multiformats-go-multihash + (let ((commit "97cdb562a04c6ef66d8ed40cd62f8fbcddd396d6") + (revision "0")) + (package + (name "go-github-com-multiformats-go-multihash") + (version (git-version "1.0.8" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/multiformats/go-multihash") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "02wd9akrwy4y5m0nig9m24p14bjjgb4n1djydrq8cm4yhbvjrrk0")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/multiformats/go-multihash")) + (native-inputs + (list go-github-com-mr-tron-base58 + go-github-com-gxed-hashland-keccakpg + go-github-com-minio-blake2b-simd + go-github-com-minio-sha256-simd + go-github-com-spaolacci-murmur3 + go-golang-org-x-crypto)) + (home-page "https://github.com/multiformats/go-multihash") + (synopsis "Multihash implementation in Go") + (description "Multihash implementation in Go.") + (license license:expat)))) + ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index e51aff3a0f..7924670675 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -81,6 +81,7 @@ (define-module (gnu packages golang) #:use-module (gnu packages glib) #:use-module (gnu packages gnupg) #:use-module (gnu packages golang-check) + #:use-module (gnu packages golang-crypto) #:use-module (gnu packages golang-web) #:use-module (gnu packages lua) #:use-module (gnu packages mail) @@ -6136,37 +6137,6 @@ (define-public go-github-com-twmb-murmur3 required by Go's standard Hash interface.") (license license:bsd-3))) -(define-public go-github-com-multiformats-go-multihash - (let ((commit "97cdb562a04c6ef66d8ed40cd62f8fbcddd396d6") - (revision "0")) - (package - (name "go-github-com-multiformats-go-multihash") - (version (git-version "1.0.8" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/multiformats/go-multihash") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "02wd9akrwy4y5m0nig9m24p14bjjgb4n1djydrq8cm4yhbvjrrk0")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/multiformats/go-multihash")) - (native-inputs - (list go-github-com-mr-tron-base58 - go-github-com-gxed-hashland-keccakpg - go-github-com-minio-blake2b-simd - go-github-com-minio-sha256-simd - go-github-com-spaolacci-murmur3 - go-golang-org-x-crypto)) - (home-page "https://github.com/multiformats/go-multihash") - (synopsis "Multihash implementation in Go") - (description "Multihash implementation in Go.") - (license license:expat)))) - (define-public go-github-com-libp2p-go-libp2p-peer (let ((commit "993d742bc29dcf4894b7730ba610fd78900be76c") (revision "0")) diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm index fc66582c8a..5aa64a31a8 100644 --- a/gnu/packages/ipfs.scm +++ b/gnu/packages/ipfs.scm @@ -30,6 +30,7 @@ (define-module (gnu packages ipfs) #:use-module (guix build-system go) #:use-module (gnu packages golang) #:use-module (gnu packages golang-check) + #:use-module (gnu packages golang-crypto) #:use-module (gnu packages golang-web) #:use-module (gnu packages python) #:use-module (gnu packages shells)