[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68605] [PATCH 29/38] gnu: go-github-com-cespare-xxhash: Move to (gn
From: |
Sharlatan Hellseher |
Subject: |
[bug#68605] [PATCH 29/38] gnu: go-github-com-cespare-xxhash: Move to (gnu packages golang-crypto). |
Date: |
Sat, 20 Jan 2024 09:58:21 +0000 |
* gnu/packages/syncthing.scm (go-github-com-cespare-xxhash): Move from here ...
* gnu/packages/golang-crypto.scm: ... to here.
* gnu/packages/textutils.scm: Add (gnu packages golang-crypto) to used
modules.
Change-Id: Ic72cf6c4770cd3f03cc2e27c3455632ee16e7c09
---
gnu/packages/golang-crypto.scm | 32 ++++++++++++++++++++++++++++++++
gnu/packages/syncthing.scm | 31 -------------------------------
gnu/packages/textutils.scm | 1 +
3 files changed, 33 insertions(+), 31 deletions(-)
diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index 00a6f51313..187f47b8eb 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2021 LibreMiami <packaging-guix@libremiami.org>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2022 (unmatched-parenthesis <paren@disroot.org>
+;;; Copyright © 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022, 2023 Nicolas Graves <ngraves@ngraves.fr>
;;; Copyright © 2023 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2023 Clément Lassieur <clement@lassieur.org>
@@ -165,6 +166,37 @@ (define-public go-github-com-btcsuite-btcd-btcec
needing to use secp256k1 elliptic curve cryptography.")
(license license:isc))))
+(define-public go-github-com-cespare-xxhash
+ (package
+ (name "go-github-com-cespare-xxhash")
+ (version "2.1.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cespare/xxhash")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1f3wyr9msnnz94szrkmnfps9wm40s5sp9i4ak0kl92zcrkmpy29a"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/cespare/xxhash"
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key inputs #:allow-other-keys #:rest args)
+ (unless
+ ;; The tests fail when run with gccgo.
+ (false-if-exception (search-input-file inputs "/bin/gccgo"))
+ (apply (assoc-ref %standard-phases 'check) args)))))))
+ (home-page "https://github.com/cespare/xxhash/")
+ (synopsis "Go implementation of xxHash")
+ (description "This package provides of Go implementation of the 64-bit
+xxHash algorithm (XXH64).")
+ (license license:expat)))
+
(define-public go-github-com-cloudflare-circl
(package
(name "go-github-com-cloudflare-circl")
diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index 7598b46824..e3c0593aee 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -1006,34 +1006,3 @@ (define-public go-github-com-ccding-go-stun
and RFC 5389).")
(home-page "https://github.com/ccding/go-stun")
(license asl2.0))))
-
-(define-public go-github-com-cespare-xxhash
- (package
- (name "go-github-com-cespare-xxhash")
- (version "2.1.2")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/cespare/xxhash")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1f3wyr9msnnz94szrkmnfps9wm40s5sp9i4ak0kl92zcrkmpy29a"))))
- (build-system go-build-system)
- (arguments
- (list
- #:import-path "github.com/cespare/xxhash"
- #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs #:allow-other-keys #:rest args)
- (unless
- ;; The tests fail when run with gccgo.
- (false-if-exception (search-input-file inputs "/bin/gccgo"))
- (apply (assoc-ref %standard-phases 'check) args)))))))
- (synopsis "Go implementation of xxHash")
- (description "This package provides of Go implementation of the 64-bit
-xxHash algorithm (XXH64).")
- (home-page "https://github.com/cespare/xxhash/")
- (license expat)))
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 494e6b5ef5..96bc2e56cc 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -65,6 +65,7 @@ (define-module (gnu packages textutils)
#:use-module (gnu packages gcc)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-check)
+ #:use-module (gnu packages golang-crypto)
#:use-module (gnu packages gettext)
#:use-module (gnu packages java)
#:use-module (gnu packages ncurses)
--
2.41.0
- [bug#68605] [PATCH 30/38] gnu: go-github-com-99designs-go-keyring: Move to (gnu packages golang-crypto)., (continued)
- [bug#68605] [PATCH 30/38] gnu: go-github-com-99designs-go-keyring: Move to (gnu packages golang-crypto)., Sharlatan Hellseher, 2024/01/20
- [bug#68605] [PATCH 16/38] gnu: go-github-com-jcmturner-aescts-v2: Move to (gnu packages golang-crypto)., Sharlatan Hellseher, 2024/01/20
- [bug#68605] [PATCH 25/38] gnu: go-github-com-flynn-noise: Move to (gnu packages golang-crypto)., Sharlatan Hellseher, 2024/01/20
- [bug#68605] [PATCH 21/38] gnu: go-github-com-btcsuite-btcd-btcec: Move to (gnu packages golang-crypto)., Sharlatan Hellseher, 2024/01/20
- [bug#68605] [PATCH 14/38] gnu: go-github-com-gaukas-godicttls: Move to (gnu packages golang-crypto)., Sharlatan Hellseher, 2024/01/20
- [bug#68605] [PATCH 20/38] gnu: go-github-com-protonmail-go-crypto: Move to (gnu packages golang-crypto)., Sharlatan Hellseher, 2024/01/20
- [bug#68605] [PATCH 19/38] gnu: go-github-com-emersion-go-pgpmail: Move to (gnu packages golang-crypto)., Sharlatan Hellseher, 2024/01/20
- [bug#68605] [PATCH 22/38] gnu: go-lukechampine-com-blake3: Move to (gnu packages golang-crypto)., Sharlatan Hellseher, 2024/01/20
- [bug#68605] [PATCH 23/38] gnu: go-github-com-cloudflare-circl: Move to (gnu packages golang-crypto)., Sharlatan Hellseher, 2024/01/20
- [bug#68605] [PATCH 26/38] gnu: go-github-com-gxed-hashland-keccakpg: Move to (gnu packages golang-crypto)., Sharlatan Hellseher, 2024/01/20
- [bug#68605] [PATCH 29/38] gnu: go-github-com-cespare-xxhash: Move to (gnu packages golang-crypto).,
Sharlatan Hellseher <=
- [bug#68605] [PATCH 28/38] gnu: go-github-com-minio-blake2b-simd: Move to (gnu packages golang-crypto)., Sharlatan Hellseher, 2024/01/20
- [bug#68605] [PATCH 34/38] gnu: go-github.com-smartystreets-gunit: Move to (gnu packages golang-check)., Sharlatan Hellseher, 2024/01/20
- [bug#68605] [PATCH 27/38] gnu: go-github-com-operatorfoundation-ed25519: Move to (gnu packages golang-crypto)., Sharlatan Hellseher, 2024/01/20
- [bug#68605] [PATCH 31/38] gnu: go-github-com-xanzy-ssh-agent: Move to (gnu packages golang-crypto)., Sharlatan Hellseher, 2024/01/20
- [bug#68605] [PATCH 35/38] gnu: go-github.com-smartystreets-assertions: Move to (gnu packages golang-check)., Sharlatan Hellseher, 2024/01/20
- [bug#68605] [PATCH 36/38] gnu: go-github.com-smartystreets-goconvey: Move to (gnu packages golang-check)., Sharlatan Hellseher, 2024/01/20
- [bug#68605] [PATCH 38/38] gnu: go-github-com-quic-go-qtls-go1-20: Sort package alphabetically., Sharlatan Hellseher, 2024/01/20
- [bug#68605] [PATCH 33/38] gnu: go-github-com-dvsekhvalnov-jose2go: Move to (gnu packages golang-crypto)., Sharlatan Hellseher, 2024/01/20
- [bug#68605] [PATCH 37/38] gnu: go-github-com-99designs-go-keyring: Adjust inputs., Sharlatan Hellseher, 2024/01/20
- [bug#68605] [PATCH 32/38] gnu: go-filippo-io-age: Move to (gnu packages golang-crypto)., Sharlatan Hellseher, 2024/01/20