mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: go-github-com-cespare-xxhash: Move to (gnu packages golang-crypto).
* 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
This commit is contained in:
parent
bf30f46716
commit
1900b75c23
3 changed files with 33 additions and 31 deletions
|
@ -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")
|
||||
|
|
|
@ -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)))
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue