guix_mirror_bot pushed a commit to branch master
in repository guix.

commit ee5dd04847a0a4896ae792364e27cc0f05526f0c
Author: Patrick Norton <[email protected]>
AuthorDate: Mon Nov 24 14:16:24 2025 -0500

    gnu: Add go-github-com-panjf2000-ants-v2.
    
    * gnu/packages/golang-xyz.scm (go-github-com-panjf2000-ants-v2): New
    variable.
    
    Change-Id: I7d6ea9c0e58d72e8baf9ad2a135fcee4ee2fd6f7
    Modified-by: Sharlatan Hellseher <[email protected]>
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/golang-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 3a16851530..3956dbd38d 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -18279,6 +18279,35 @@ throughput and hit ratio performance.  It's a fork of
 @code{dgraph-io/ristretto} project.")
     (license license:asl2.0)))
 
+(define-public go-github-com-panjf2000-ants-v2
+  (package
+    (name "go-github-com-panjf2000-ants-v2")
+    (version "2.11.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/panjf2000/ants";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0gz74jw7a905wld0bgcpxii3bq5864mv5hsnbkzj1n00n3lwmqmb"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/panjf2000/ants/v2"))
+    (native-inputs
+     (list go-github-com-stretchr-testify))
+    (propagated-inputs
+     (list go-golang-org-x-sync))
+    (home-page "https://github.com/panjf2000/ants";)
+    (synopsis "Pooling solution for Golang")
+    (description
+     "This package implements a goroutine pool with fixed capacity, managing 
and
+recycling a massive number of goroutines, allowing developers to limit the
+number of goroutines in your concurrent programs.")
+    (license license:expat)))
+
 (define-public go-github-com-patrickmn-go-cache
   (package
     (name "go-github-com-patrickmn-go-cache")

Reply via email to