all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 71843@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#71843] [PATCH 11/26] gnu: Add go-github-com-remeh-sizedwaitgroup.
Date: Sun, 30 Jun 2024 10:05:51 +0100	[thread overview]
Message-ID: <d8d170cb160181ec1063c537ab734276d57d4606.1719691458.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1719691458.git.sharlatanus@gmail.com>

* gnu/packages/golang-xyz.scm (go-github-com-remeh-sizedwaitgroup): New variable.

Change-Id: Icabe407a0aefef2728e331be87e239b7683512cd
---
 gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 0208063845..e7fabd6b94 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -3663,6 +3663,33 @@ (define-public go-github-com-rcrowley-go-metrics
       (home-page "https://github.com/rcrowley/go-metrics")
       (license license:bsd-2))))
 
+(define-public go-github-com-remeh-sizedwaitgroup
+  (package
+    (name "go-github-com-remeh-sizedwaitgroup")
+    (version "1.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/remeh/sizedwaitgroup")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1xwdzby27xzcghsqhli3il165iz3vkx3g4abgvkl99wysyhcvn0a"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/remeh/sizedwaitgroup"))
+    (home-page "https://github.com/remeh/sizedwaitgroup")
+    (synopsis "Goroutines limit amount implementation of standard @code{sync.WaitGroup}")
+    (description
+     "This package implements a feature of limiting the maximum number of
+concurrently started routines which has the same role and API as
+@code{sync.WaitGroup}.  It could for example be used to start multiples
+routines querying a database but without sending too much queries in order to
+not overload the given database.")
+    (license license:expat)))
+
 (define-public go-github-com-schollz-progressbar-v3
   (package
     (name "go-github-com-schollz-progressbar-v3")
-- 
2.41.0





  parent reply	other threads:[~2024-06-30  9:37 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-29 20:11 [bug#71843] [PATCH 00/26] Update and unbundle vale - part I Sharlatan Hellseher
2024-06-30  9:05 ` [bug#71843] [PATCH 01/26] gnu: Add packages/golang-math module Sharlatan Hellseher
2024-06-30  9:05 ` [bug#71843] [PATCH 02/26] gnu: Add go-github-com-montanaflynn-stats Sharlatan Hellseher
2024-06-30  9:05 ` [bug#71843] [PATCH 03/26] gnu: Add go-github-com-shopspring-decimal Sharlatan Hellseher
2024-06-30  9:05 ` [bug#71843] [PATCH 04/26] gnu: Add go-github-com-adrg-strutil Sharlatan Hellseher
2024-06-30  9:05 ` [bug#71843] [PATCH 05/26] gnu: Add go-github-com-adrg-xdg Sharlatan Hellseher
2024-06-30  9:05 ` [bug#71843] [PATCH 06/26] gnu: Add go-github-com-dsnet-golib Sharlatan Hellseher
2024-06-30  9:05 ` [bug#71843] [PATCH 07/26] gnu: Add go-github-com-dsnet-compress Sharlatan Hellseher
2024-06-30  9:05 ` [bug#71843] [PATCH 08/26] gnu: Add go-github-com-expr-lang-expr Sharlatan Hellseher
2024-06-30  9:05 ` [bug#71843] [PATCH 09/26] gnu: Add go-github-com-d5-tengo-v2 Sharlatan Hellseher
2024-06-30  9:05 ` [bug#71843] [PATCH 10/26] gnu: Add go-tengo Sharlatan Hellseher
2024-06-30  9:05 ` Sharlatan Hellseher [this message]
2024-06-30  9:05 ` [bug#71843] [PATCH 12/26] gnu: Add go-github-com-gookit-color Sharlatan Hellseher
2024-06-30  9:05 ` [bug#71843] [PATCH 13/26] gnu: Add go-atomicgo-dev-assert Sharlatan Hellseher
2024-06-30  9:05 ` [bug#71843] [PATCH 14/26] gnu: Add go-github-com-otiai10-mint Sharlatan Hellseher
2024-06-30  9:05 ` [bug#71843] [PATCH 15/26] gnu: Add go-github-com-otiai10-copy Sharlatan Hellseher
2024-06-30  9:05 ` [bug#71843] [PATCH 16/26] gnu: Add go-github-com-neurosnap-sentences Sharlatan Hellseher
2024-06-30  9:05 ` [bug#71843] [PATCH 17/26] gnu: Add go-github-com-errata-ai-regexp2 Sharlatan Hellseher
2024-06-30  9:05 ` [bug#71843] [PATCH 18/26] gnu: Add go-github-com-jdkato-twine Sharlatan Hellseher
2024-06-30  9:05 ` [bug#71843] [PATCH 19/26] gnu: Add go-github-com-errata-ai-ini Sharlatan Hellseher
2024-06-30  9:06 ` [bug#71843] [PATCH 20/26] gnu: Add go-atomicgo-dev-cursor Sharlatan Hellseher
2024-06-30  9:06 ` [bug#71843] [PATCH 21/26] gnu: Add go-atomicgo-dev-schedule Sharlatan Hellseher
2024-06-30  9:06 ` [bug#71843] [PATCH 22/26] gnu: Add go-atomicgo-dev-keyboard Sharlatan Hellseher
2024-06-30  9:06 ` [bug#71843] [PATCH 23/26] gnu: Add go-github-com-marvinjwendt-testza Sharlatan Hellseher
2024-06-30  9:06 ` [bug#71843] [PATCH 24/26] gnu: Add go-github-com-pterm-pterm Sharlatan Hellseher
2024-06-30  9:06 ` [bug#71843] [PATCH 25/26] gnu: go-github-com-masterminds-sprig-v3: Update to 3.2.3 Sharlatan Hellseher
2024-06-30  9:06 ` [bug#71843] [PATCH 26/26] gnu: Add go-github-com-nwaples-rardecode-v2 Sharlatan Hellseher
2024-07-03 22:02 ` bug#71843: [PATCH 00/26] Update and unbundle vale - part I 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d8d170cb160181ec1063c537ab734276d57d4606.1719691458.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=71843@debbugs.gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.