From 037194373a9ebfab3829963b84854ece2f9fdc50 Mon Sep 17 00:00:00 2001 From: Fries Date: Sat, 5 Aug 2023 11:02:03 +0000 Subject: gnu: Add go-github-com-modern-go-concurrent. * gnu/packages/golang.scm (go-github-com-modern-go-concurrent): New variable. Signed-off-by: Sharlatan Hellseher Change-Id: Ie42473a28271069abea34b175dc2d98aeb6e66b9 --- gnu/packages/golang-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 0bcc84e0e6..50a8eab39c 100644 --- a/gnu/packages/golang-xyz.scm +++ b/gnu/packages/golang-xyz.scm @@ -1845,6 +1845,30 @@ (define-public go-github-com-miekg-dns presenting a small interface.") (license license:bsd-3))) +(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 + (list #:import-path "github.com/modern-go/concurrent")) + (home-page "https://github.com/modern-go/concurrent") + (synopsis "Concurrency utilities for Go") + (description + "A Go library providing various concurrency utilities including a backport +of @code{sync.Map} to Go versions below 1.9 and a cancellable Goroutine with +explicit ownership.") + (license license:asl2.0))) + (define-public go-github-com-mreiferson-go-options (package (name "go-github-com-mreiferson-go-options") -- cgit v1.2.3