[bug#65081,10/13] gnu: Add go-github-com-modern-go-concurrent
Commit Message
* gnu/packages/golang.scm (go-github-com-modern-go-concurrent): Add variable.
---
gnu/packages/golang.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Comments
Fries via Guix-patches via <guix-patches@gnu.org> writes:
> + (arguments
> + '(#:import-path "github.com/modern-go/concurrent"))
LIST.
> + (synopsis "Concurrency utilities")
s/utilities/utilities for Go/, perhaps?
> + (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.")
-- (
@@ -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")