Subject: [bug#54560] [PATCH 14/47] gnu: Add go-github-com-modern-go-concurrent.

From: Leo Nikkilä <[email-masked]>
Date: Fri, 25 Mar 2022 15:31:38 +0200

* gnu/packages/golang.scm (go-github-com-modern-go-concurrent): New
variable.
---
 gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 15a2f4310b..61332a5786 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -10027,6 +10027,30 @@ (define-public go-github-com-mailru-easyjson
     (home-page "https://github.com/mailru/easyjson")
     (license license:expat)))
 
+(define-public go-github-com-modern-go-concurrent
+  (package
+    (name "go-github-com-modern-go-concurrent")
+    (version "1.0.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/modern-go/concurrent")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0s0fxccsyb8icjmiym5k7prcqx36hvgdwl588y0491gi18k5i4zs"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/modern-go/concurrent"))
+    (synopsis "Concurrency utilities for Go")
+    (description
+     "Concurrency utilities for Go, including a backported version of
+@code{sync.Map} for Go < 1.9 named @code{concurrent.Map}, and
+@code{concurrent.Executor}.")
+    (home-page "https://github.com/modern-go/concurrent")
+    (license license:asl2.0)))
+
 (define-public go-google-golang-org-protobuf
   (package
     (name "go-google-golang-org-protobuf")
-- 
2.34.0