From 1a550c93e54aa2ba39cd12af5b0348019e315dd4 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Sun, 26 Feb 2023 20:13:19 +0100 Subject: gnu: Add go-golang.org-x-sync-semaphore. * gnu/packages/golang.scm (go-golang.org-x-sync-semaphore): New variable. Signed-off-by: Leo Famulari --- gnu/packages/golang.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index c4b6bcd874..7268b661cf 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -39,6 +39,7 @@ ;;; Copyright © 2022 Nicolas Graves ;;; Copyright © 2022 ( ;;; Copyright © 2023 Hilton Chain +;;; Copyright © 2023 Timo Wilken ;;; ;;; This file is part of GNU Guix. ;;; @@ -7409,6 +7410,17 @@ common task.") (home-page "https://godoc.org/golang.org/x/sync/errgroup") (license license:bsd-3)))) +(define-public go-golang.org-x-sync-semaphore + (package + (inherit go-golang.org-x-sync-errgroup) + (name "go-golang.org-x-sync-semaphore") + (arguments + '(#:import-path "golang.org/x/sync/semaphore" + #:unpack-path "golang.org/x/sync")) + (synopsis "Weighted semaphore implementation in Go") + (description "Weighted semaphore implementation in Go.") + (home-page "https://godoc.org/golang.org/x/sync/semaphore"))) + (define (go-gotest-tools-source version sha256-base32-hash) (origin (method git-fetch) -- cgit v1.2.3