[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#71843] [PATCH 11/26] gnu: Add go-github-com-remeh-sizedwaitgroup.
From: |
Sharlatan Hellseher |
Subject: |
[bug#71843] [PATCH 11/26] gnu: Add go-github-com-remeh-sizedwaitgroup. |
Date: |
Sun, 30 Jun 2024 10:05:51 +0100 |
* 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
- [bug#71843] [PATCH 00/26] Update and unbundle vale - part I, Sharlatan Hellseher, 2024/06/29
- [bug#71843] [PATCH 01/26] gnu: Add packages/golang-math module., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 06/26] gnu: Add go-github-com-dsnet-golib., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 02/26] gnu: Add go-github-com-montanaflynn-stats., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 11/26] gnu: Add go-github-com-remeh-sizedwaitgroup.,
Sharlatan Hellseher <=
- [bug#71843] [PATCH 03/26] gnu: Add go-github-com-shopspring-decimal., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 05/26] gnu: Add go-github-com-adrg-xdg., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 07/26] gnu: Add go-github-com-dsnet-compress., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 08/26] gnu: Add go-github-com-expr-lang-expr., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 04/26] gnu: Add go-github-com-adrg-strutil., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 15/26] gnu: Add go-github-com-otiai10-copy., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 12/26] gnu: Add go-github-com-gookit-color., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 13/26] gnu: Add go-atomicgo-dev-assert., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 19/26] gnu: Add go-github-com-errata-ai-ini., Sharlatan Hellseher, 2024/06/30
- [bug#71843] [PATCH 21/26] gnu: Add go-atomicgo-dev-schedule., Sharlatan Hellseher, 2024/06/30