unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 69042@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#69042] [PATCH v2 04/30] gnu: go-github-com-golang-snappy: Mmove to golang-compression.
Date: Mon, 12 Feb 2024 18:48:21 +0000	[thread overview]
Message-ID: <e96cfe4b8fbfcd5f6b88a911e2ea4a27737c7b49.1707763691.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <e6295f25eabb9fcc8765561825ab7c9b124c1568.1707763691.git.sharlatanus@gmail.com>

* 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
---
 gnu/packages/golang-compression.scm | 26 ++++++++++++++++++++++++++
 gnu/packages/golang.scm             |  1 +
 gnu/packages/high-availability.scm  |  4 ++--
 gnu/packages/ipfs.scm               |  1 +
 gnu/packages/syncthing.scm          | 24 +-----------------------
 5 files changed, 31 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/golang-compression.scm b/gnu/packages/golang-compression.scm
index 268cd16e30..670572ea90 100644
--- a/gnu/packages/golang-compression.scm
+++ b/gnu/packages/golang-compression.scm
@@ -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 @@ (define-module (gnu packages golang-compression)
 ;;;
 ;;; Code:
 \f
+(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
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3997f4057d..43e9024167 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -83,6 +83,7 @@ (define-module (gnu packages golang)
   #: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 lua)
diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm
index 9760084603..ad18a39738 100644
--- a/gnu/packages/high-availability.scm
+++ b/gnu/packages/high-availability.scm
@@ -36,6 +36,7 @@ (define-module (gnu packages high-availability)
   #: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 @@ (define-module (gnu packages high-availability)
   #: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 @@ (define-public nsq
            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
diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm
index ae514cd93b..f09d0190dd 100644
--- a/gnu/packages/ipfs.scm
+++ b/gnu/packages/ipfs.scm
@@ -31,6 +31,7 @@ (define-module (gnu packages ipfs)
   #: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 python)
diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index 4c3aa8f30b..c0270b87e5 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -38,6 +38,7 @@ (define-module (gnu packages syncthing)
   #: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 @@ (define-public go-github-com-golang-groupcache-lru
       (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")
-- 
2.41.0





  parent reply	other threads:[~2024-02-12 18:51 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-11 10:36 [bug#69042] [PATCH 00/30] Split (gnu packages golang) part IV Sharlatan Hellseher
2024-02-11 10:52 ` [bug#69042] [PATCH 01/30] gnu: Add (gnu packages golang-build) module Sharlatan Hellseher
2024-02-11 10:52 ` [bug#69042] [PATCH 02/30] gnu: Add (gnu packages golang-compression) module Sharlatan Hellseher
2024-02-11 10:52 ` [bug#69042] [PATCH 03/30] gnu: go-golang-org-x-net: Move to (gnu packages golang-build) Sharlatan Hellseher
2024-02-11 10:52 ` [bug#69042] [PATCH 04/30] gnu: go-github-com-golang-snappy: Mmove to (gnu packages golang-compression) Sharlatan Hellseher
2024-02-11 10:52 ` [bug#69042] [PATCH 05/30] gnu: go-github-com-mreiferson-go-options: Move to (gnu packages golang-xyz) Sharlatan Hellseher
2024-02-11 10:52 ` [bug#69042] [PATCH 06/30] gnu: go-golang-org-x-sys: Move to (gnu packages golang-build) Sharlatan Hellseher
2024-02-11 10:52 ` [bug#69042] [PATCH 07/30] gnu: go-github-com-mreiferson-go-svc: Move to (gnu packages golang-xyz) Sharlatan Hellseher
2024-02-11 10:52 ` [bug#69042] [PATCH 08/30] gnu: go-github-com-nsqio-go-nsq: " Sharlatan Hellseher
2024-02-11 10:52 ` [bug#69042] [PATCH 09/30] gnu: go-github-com-nsqio-go-diskqueue: " Sharlatan Hellseher
2024-02-11 10:52 ` [bug#69042] [PATCH 10/30] gnu: go-github-com-davecgh-go-spew: Move to (gnu packages golang-check) Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 11/30] gnu: go-github-com-burntsushi-toml: Move to (gnu packages golang-xyz) Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 12/30] gnu: go-github-com-bmizerany-perks-quantile: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 13/30] gnu: go-github-com-blang-semver: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 14/30] gnu: go-github-com-bitly-timer-metrics: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 15/30] gnu: go-github-com-bitly-go-hostpool: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 16/30] gnu: go-golang-org-x-exp: Move to (gnu packages golang-build) Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 17/30] gnu: go-golang-org-x-mod: Move to (gnu packages-build) Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 18/30] gnu: go-golang-org-x-xerrors: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 19/30] gnu: go-golang.org-x-sync-errgroup: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 20/30] gnu: go-golang-org-x-sync: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 21/30] gnu: go-golang-org-x-term: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 22/30] gnu: go-golang-org-x-time: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 23/30] gnu: go-golang-org-x-text: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 24/30] gnu: go-github-com-yuin-goldmark: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 25/30] gnu: go-golang-org-x-tools: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 26/30] gnu: go-golang-org-x-image: " Sharlatan Hellseher
2024-02-12 13:57   ` Liliana Marie Prikler
2024-02-11 10:53 ` [bug#69042] [PATCH 27/30] gnu: go-golang-org-x-crypto: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 28/30] gnu: go-github-com-klauspost-compress: Move to (gnu packages-compression) Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 29/30] gnu: go-github-com-andybalholm-brotli: " Sharlatan Hellseher
2024-02-11 10:53 ` [bug#69042] [PATCH 30/30] gnu: go-github.com-ulikunitz-xz: " Sharlatan Hellseher
2024-02-12 15:08 ` [bug#69042] [PATCH 00/30] Split (gnu packages golang) part IV Sharlatan Hellseher
2024-02-12 18:48 ` [bug#69042] [PATCH v2 01/30] gnu: Add (gnu packages golang-build) module Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 02/30] gnu: Add (gnu packages golang-compression) module Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 03/30] gnu: go-golang-org-x-net: Move to golang-build Sharlatan Hellseher
2024-02-12 18:48   ` Sharlatan Hellseher [this message]
2024-02-12 18:48   ` [bug#69042] [PATCH v2 05/30] gnu: go-github-com-mreiferson-go-options: Move to golang-xyz Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 06/30] gnu: go-golang-org-x-sys: Move to golang-build Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 07/30] gnu: go-github-com-mreiferson-go-svc: Move to golang-xyz Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 08/30] gnu: go-github-com-nsqio-go-nsq: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 09/30] gnu: go-github-com-nsqio-go-diskqueue: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 10/30] gnu: go-github-com-davecgh-go-spew: Move to golang-check Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 11/30] gnu: go-github-com-burntsushi-toml: Move to golang-xyz Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 12/30] gnu: go-github-com-bmizerany-perks-quantile: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 13/30] gnu: go-github-com-blang-semver: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 14/30] gnu: go-github-com-bitly-timer-metrics: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 15/30] gnu: go-github-com-bitly-go-hostpool: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 16/30] gnu: go-golang-org-x-exp: Move to golang-build Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 17/30] gnu: go-golang-org-x-mod: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 18/30] gnu: go-golang-org-x-xerrors: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 19/30] gnu: go-golang.org-x-sync-errgroup: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 20/30] gnu: go-golang-org-x-sync: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 21/30] gnu: go-golang-org-x-term: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 22/30] gnu: go-golang-org-x-time: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 23/30] gnu: go-golang-org-x-text: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 24/30] gnu: go-github-com-yuin-goldmark: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 25/30] gnu: go-golang-org-x-tools: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 26/30] gnu: go-golang-org-x-image: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 27/30] gnu: go-golang-org-x-crypto: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 28/30] gnu: go-github-com-klauspost-compress: Move to golang-compression Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 29/30] gnu: go-github-com-andybalholm-brotli: " Sharlatan Hellseher
2024-02-12 18:48   ` [bug#69042] [PATCH v2 30/30] gnu: go-github.com-ulikunitz-xz: " Sharlatan Hellseher
2024-02-13 14:48 ` bug#69042: [PATCH 00/30] Split (gnu packages golang) part IV 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=e96cfe4b8fbfcd5f6b88a911e2ea4a27737c7b49.1707763691.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=69042@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).