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 19/30] gnu: go-golang.org-x-sync-errgroup: Move to golang-build.
Date: Mon, 12 Feb 2024 18:48:36 +0000	[thread overview]
Message-ID: <722456bf1a229679af5a3cb8349b5db375f2fc54.1707763691.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <e6295f25eabb9fcc8765561825ab7c9b124c1568.1707763691.git.sharlatanus@gmail.com>

* gnu/packages/golang.scm (go-golang.org-x-sync-errgroup,
go-golang.org-x-sync-semaphore): Move from here ...
* gnu/packages/golang-build.scm: ... to here.

* gnu/packages/check.scm: Add (gnu packages golang-build) module.

Change-Id: Ie886c0f44e0a70629e23371b447f5a35006ade21
---
 gnu/packages/check.scm        |  1 +
 gnu/packages/golang-build.scm | 41 +++++++++++++++++++++++++++++++++++
 gnu/packages/golang.scm       | 38 --------------------------------
 gnu/packages/terminals.scm    |  1 +
 4 files changed, 43 insertions(+), 38 deletions(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 4f593cde8d..b520d6c58a 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -77,6 +77,7 @@ (define-module (gnu packages check)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages golang)
+  #:use-module (gnu packages golang-build)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages guile-xyz)
diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm
index fed606e8fb..8e64571929 100644
--- a/gnu/packages/golang-build.scm
+++ b/gnu/packages/golang-build.scm
@@ -1,11 +1,14 @@
 ;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2020 Danny Milosavljevic <dannym@scratchpost.org>
 ;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
+;;; Copyright © 2020 Vagrant Cascadian <vagrant@debian.org>
 ;;; Copyright © 2021 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2021 hackeryarn <artemchernyak@gmail.com>
 ;;; Copyright © 2023 Artyom V. Poptsov <poptsov.artyom@gmail.com>
 ;;; Copyright © 2023 Felix Lechner <felix.lechner@lease-up.com>
 ;;; Copyright © 2023 Katherine Cox-Buday <cox.katherine.e@gmail.com>
+;;; Copyright © 2023 Timo Wilken <guix@twilken.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -165,6 +168,44 @@ (define-public go-golang-org-x-net-html
     (description
      "This package provides an HTML5-compliant tokenizer and parser.")))
 
+(define-public go-golang.org-x-sync-errgroup
+  (let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb")
+        (revision "0"))
+    (package
+      (name "go-golang.org-x-sync-errgroup")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://go.googlesource.com/sync")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1nqkyz2y1qvqcma52ijh02s8aiqmkfb95j08f6zcjhbga3ds6hds"))))
+      (build-system go-build-system)
+      (arguments
+       '(#:import-path "golang.org/x/sync/errgroup"
+         #:unpack-path "golang.org/x/sync"))
+      (home-page "https://godoc.org/golang.org/x/sync/errgroup")
+      (synopsis "Synchronization, error propagation, and Context cancellation
+for groups of goroutines working on subtasks of a common task")
+      (description "This package provides synchronization, error
+propagation, and Context cancellation for groups of goroutines working on
+subtasks of a common task.")
+      (license license:bsd-3))))
+
+(define-public go-golang.org-x-sync-semaphore
+  (package
+    (inherit go-golang.org-x-sync-errgroup)
+    (name "go-golang.org-x-sync-semaphore")
+    (arguments
+     '(#:import-path "golang.org/x/sync/semaphore"
+       #:unpack-path "golang.org/x/sync"))
+    (home-page "https://godoc.org/golang.org/x/sync/semaphore")
+    (synopsis "Weighted semaphore implementation in Go")
+    (description "Weighted semaphore implementation in Go.")))
+
 (define-public go-golang-org-x-sys
   (let ((commit "ca59edaa5a761e1d0ea91d6c07b063f85ef24f78")
         (revision "0"))
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 68b905ff8b..7e5626a303 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7023,44 +7023,6 @@ (define-public go-github-com-google-renameio
 create or replace a file or symbolic link.")
     (license license:asl2.0)))
 
-(define-public go-golang.org-x-sync-errgroup
-  (let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb")
-        (revision "0"))
-    (package
-      (name "go-golang.org-x-sync-errgroup")
-      (version (git-version "0.0.0" revision commit))
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                       (url "https://go.googlesource.com/sync")
-                       (commit commit)))
-                (file-name (git-file-name name version))
-                (sha256
-                 (base32
-                  "1nqkyz2y1qvqcma52ijh02s8aiqmkfb95j08f6zcjhbga3ds6hds"))))
-      (build-system go-build-system)
-      (arguments
-       '(#:import-path "golang.org/x/sync/errgroup"
-         #:unpack-path "golang.org/x/sync"))
-      (synopsis "Synchronization, error propagation, and Context cancellation
-for groups of goroutines working on subtasks of a common task")
-      (description "This package provides synchronization, error propagation,
-and Context cancellation for groups of goroutines working on subtasks of a
-common task.")
-      (home-page "https://godoc.org/golang.org/x/sync/errgroup")
-      (license license:bsd-3))))
-
-(define-public go-golang.org-x-sync-semaphore
-  (package
-    (inherit go-golang.org-x-sync-errgroup)
-    (name "go-golang.org-x-sync-semaphore")
-    (arguments
-     '(#:import-path "golang.org/x/sync/semaphore"
-       #:unpack-path "golang.org/x/sync"))
-    (synopsis "Weighted semaphore implementation in Go")
-    (description "Weighted semaphore implementation in Go.")
-    (home-page "https://godoc.org/golang.org/x/sync/semaphore")))
-
 (define (go-gotest-tools-source version sha256-base32-hash)
   (origin
     (method git-fetch)
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index f609de8eff..37223d0d18 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -90,6 +90,7 @@ (define-module (gnu packages terminals)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages golang)
+  #:use-module (gnu packages golang-build)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages image)
   #:use-module (gnu packages libcanberra)
-- 
2.41.0





  parent reply	other threads:[~2024-02-12 19:20 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   ` [bug#69042] [PATCH v2 04/30] gnu: go-github-com-golang-snappy: Mmove to golang-compression Sharlatan Hellseher
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   ` Sharlatan Hellseher [this message]
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=722456bf1a229679af5a3cb8349b5db375f2fc54.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).