gnu: go-github-com-golang-snappy: Mmove to golang-compression.

* gnu/packages/syncthing.scm (go-github-com-golang-snappy): Move from
here ...
* gnu/packages/golang-compression.scm: ... to here.

* gnu/packages/golang.scm: Add (gnu packages golang-compression) module.
* gnu/packages/high-availability.scm: As above.
* gnu/packages/ipfs.scm: As above.
* gnu/packages/syncthing.scm: As above.

Change-Id: I936c82c127e1aa25dde20693bee70e5a871249fe
This commit is contained in:
Sharlatan Hellseher 2024-02-07 18:37:04 +00:00
parent 8b3daeca55
commit 20c1bd6e9e
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
5 changed files with 31 additions and 25 deletions

View File

@ -1,4 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
;;; Copyright © 2021 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@ -30,6 +33,29 @@
;;;
;;; Code:
(define-public go-github-com-golang-snappy
(package
(name "go-github-com-golang-snappy")
(version "0.0.4")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/golang/snappy")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "004cw699yz3pdpawhjhpa0y94c4w479nw1rf39zj6h6027kpwv2j"))
(patches (search-patches "go-github-com-golang-snappy-32bit-test.patch"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/golang/snappy"))
(home-page "https://github.com/golang/snappy")
(synopsis "Snappy compression format in the Go programming language")
(description "This package provides a Go implementation of the Snappy
compression format.")
(license license:bsd-3)))
;;;
;;; 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

View File

@ -83,6 +83,7 @@
#:use-module (gnu packages gnupg)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-check)
#:use-module (gnu packages golang-compression)
#:use-module (gnu packages golang-crypto)
#:use-module (gnu packages golang-web)
#:use-module (gnu packages golang-xyz)

View File

@ -36,6 +36,7 @@
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-compression)
#:use-module (gnu packages golang-crypto)
#:use-module (gnu packages golang-web)
#:use-module (gnu packages golang-xyz)
@ -48,7 +49,6 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages rsync)
#:use-module (gnu packages syncthing)
#:use-module (gnu packages tls)
#:use-module (gnu packages valgrind)
#:use-module (gnu packages version-control)
@ -284,7 +284,7 @@ systems.")
go-github-com-bmizerany-perks-quantile
go-github-com-burntsushi-toml
go-github-com-davecgh-go-spew
go-github-com-golang-snappy ; Move to (gnu packages golang)
go-github-com-golang-snappy
go-github-com-julienschmidt-httprouter
go-github-com-mreiferson-go-options
go-github-com-mreiferson-go-svc

View File

@ -31,6 +31,7 @@
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-check)
#:use-module (gnu packages golang-compression)
#:use-module (gnu packages golang-crypto)
#:use-module (gnu packages golang-web)
#:use-module (gnu packages golang-xyz)

View File

@ -38,6 +38,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages golang)
#:use-module (gnu packages golang-compression)
#:use-module (gnu packages gtk)
#:use-module (gnu packages linux)
#:use-module (gnu packages python-crypto)
@ -398,29 +399,6 @@ processes.")
(home-page "https://github.com/golang/groupcache")
(license asl2.0))))
(define-public go-github-com-golang-snappy
(package
(name "go-github-com-golang-snappy")
(version "0.0.4")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/golang/snappy")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"004cw699yz3pdpawhjhpa0y94c4w479nw1rf39zj6h6027kpwv2j"))
(patches (search-patches "go-github-com-golang-snappy-32bit-test.patch"))))
(build-system go-build-system)
(arguments
`(#:import-path "github.com/golang/snappy"))
(synopsis "Snappy compression format in the Go programming language")
(description "This package provides a Go implementation of the Snappy
compression format.")
(home-page "https://github.com/golang/snappy")
(license bsd-3)))
(define-public go-github-com-jackpal-gateway
(package
(name "go-github-com-jackpal-gateway")