guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#65081] [PATCH 10/13] gnu: Add go-github-com-modern-go-concurrent


From: Fries
Subject: [bug#65081] [PATCH 10/13] gnu: Add go-github-com-modern-go-concurrent
Date: Sat, 05 Aug 2023 07:00:51 +0000

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

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index fd138c1566..72dfc51507 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6773,6 +6773,30 @@ (define-public go-github-com-mitchellh-reflectwalk
 unknown structures such as those decoded from JSON.")
     (license license:expat)))
 
+(define-public go-github-com-modern-go-concurrent
+  (package
+    (name "go-github-com-modern-go-concurrent")
+    (version "0.0.0-20180306012644-bacd9c7ef1dd")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/modern-go/concurrent";)
+                    (commit (go-version->git-ref version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0s0fxccsyb8icjmiym5k7prcqx36hvgdwl588y0491gi18k5i4zs"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/modern-go/concurrent"))
+    (home-page "https://github.com/modern-go/concurrent";)
+    (synopsis "Concurrency utilities")
+    (description
+     "A Go library providing various concurrency utilities including a backport
+of sync.Map to Go versions below 1.9 and a cancellable Goroutine with explicit
+ownership.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-mitchellh-copystructure
   (package
     (name "go-github-com-mitchellh-copystructure")
-- 
2.41.0







reply via email to

[Prev in Thread] Current Thread [Next in Thread]