unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 68605@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>,
	Katherine Cox-Buday <cox.katherine.e+guix@gmail.com>,
	Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#68605] [PATCH 03/38] gnu: go-github-com-multiformats-go-multihash: Move to (gnu packages golang-crypto).
Date: Sat, 20 Jan 2024 09:57:55 +0000	[thread overview]
Message-ID: <58b904196d8c9fc73e60304657bcd442f649a714.1705743627.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1705743627.git.sharlatanus@gmail.com>

* 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 <mail@ambrevar.xyz>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -36,6 +37,36 @@ (define-module (gnu packages golang-crypto)
 ;;;
 ;;; Code:
 \f
+(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)
-- 
2.41.0





  parent reply	other threads:[~2024-01-20  9:59 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-20  9:50 [bug#68605] [PATCH 00/38] Split (gnu packages golang) part III Sharlatan Hellseher
2024-01-20  9:57 ` [bug#68605] [PATCH 01/38] gnu: Add (gnu packages golang-crypto) module Sharlatan Hellseher
2024-01-20  9:57 ` [bug#68605] [PATCH 02/38] gnu: go-github-com-pquerna-cachecontrol: Move to (gnu packages golang-web) Sharlatan Hellseher
2024-01-20  9:57 ` Sharlatan Hellseher [this message]
2024-01-20  9:57 ` [bug#68605] [PATCH 04/38] gnu: go-github-com-riobard-go-bloom: Move to (gnu packages golang-crypto) Sharlatan Hellseher
2024-01-20  9:57 ` [bug#68605] [PATCH 05/38] gnu: go-github-com-libp2p-go-libp2p-crypto: " Sharlatan Hellseher
2024-01-20  9:57 ` [bug#68605] [PATCH 06/38] gnu: go-github-com-shadowsocks-go-shadowsocks2: " Sharlatan Hellseher
2024-01-20  9:57 ` [bug#68605] [PATCH 07/38] gnu: go-github-com-libp2p-go-libp2p-peer: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 08/38] gnu: go-github-com-aead-chacha20: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 09/38] gnu: go-github-com-marten-seemann-chacha20: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 10/38] gnu: go-github-com-refraction-networking-utls: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 11/38] gnu: go-filippo-io-edwards25519: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 12/38] gnu: go-gitlab-com-yawning-edwards25519-extra: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 13/38] gnu: go-github-com-marten-seemann-qtls: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 14/38] gnu: go-github-com-gaukas-godicttls: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 15/38] gnu: go-github-com-quic-go-qtls-go1-20: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 16/38] gnu: go-github-com-jcmturner-aescts-v2: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 17/38] gnu: go-github-com-aperturerobotics-jacobsa-crypto: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 18/38] gnu: go-github-com-rfjakob-eme: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 19/38] gnu: go-github-com-emersion-go-pgpmail: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 20/38] gnu: go-github-com-protonmail-go-crypto: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 21/38] gnu: go-github-com-btcsuite-btcd-btcec: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 22/38] gnu: go-lukechampine-com-blake3: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 23/38] gnu: go-github-com-cloudflare-circl: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 24/38] gnu: go-github-com-minio-sha256-simd: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 25/38] gnu: go-github-com-flynn-noise: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 26/38] gnu: go-github-com-gxed-hashland-keccakpg: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 27/38] gnu: go-github-com-operatorfoundation-ed25519: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 28/38] gnu: go-github-com-minio-blake2b-simd: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 29/38] gnu: go-github-com-cespare-xxhash: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 30/38] gnu: go-github-com-99designs-go-keyring: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 31/38] gnu: go-github-com-xanzy-ssh-agent: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 32/38] gnu: go-filippo-io-age: " Sharlatan Hellseher
2024-02-01  6:27   ` Hilton Chain via Guix-patches via
2024-01-20  9:58 ` [bug#68605] [PATCH 33/38] gnu: go-github-com-dvsekhvalnov-jose2go: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 34/38] gnu: go-github.com-smartystreets-gunit: Move to (gnu packages golang-check) Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 35/38] gnu: go-github.com-smartystreets-assertions: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 36/38] gnu: go-github.com-smartystreets-goconvey: " Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 37/38] gnu: go-github-com-99designs-go-keyring: Adjust inputs Sharlatan Hellseher
2024-01-20  9:58 ` [bug#68605] [PATCH 38/38] gnu: go-github-com-quic-go-qtls-go1-20: Sort package alphabetically Sharlatan Hellseher
2024-01-26 22:07 ` [bug#68605] Split (gnu packages golang) part III Sharlatan Hellseher
2024-01-28 23:51 ` bug#68605: " Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=58b904196d8c9fc73e60304657bcd442f649a714.1705743627.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=68605@debbugs.gnu.org \
    --cc=cox.katherine.e+guix@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).