gnu: go-golang.org-x-sync-errgroup: Move to golang-build.

* gnu/packages/golang.scm (go-golang.org-x-sync-errgroup,
go-golang.org-x-sync-semaphore): Move from here ...
* gnu/packages/golang-build.scm: ... to here.

* gnu/packages/check.scm: Add (gnu packages golang-build) module.

Change-Id: Ie886c0f44e0a70629e23371b447f5a35006ade21
This commit is contained in:
Sharlatan Hellseher 2024-02-10 17:00:55 +00:00
parent b900304377
commit 2175660d92
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
4 changed files with 43 additions and 38 deletions

View file

@ -7023,44 +7023,6 @@ into URL query parameters.")
create or replace a file or symbolic link.")
(license license:asl2.0)))
(define-public go-golang.org-x-sync-errgroup
(let ((commit "cd5d95a43a6e21273425c7ae415d3df9ea832eeb")
(revision "0"))
(package
(name "go-golang.org-x-sync-errgroup")
(version (git-version "0.0.0" revision commit))
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://go.googlesource.com/sync")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"1nqkyz2y1qvqcma52ijh02s8aiqmkfb95j08f6zcjhbga3ds6hds"))))
(build-system go-build-system)
(arguments
'(#:import-path "golang.org/x/sync/errgroup"
#:unpack-path "golang.org/x/sync"))
(synopsis "Synchronization, error propagation, and Context cancellation
for groups of goroutines working on subtasks of a common task")
(description "This package provides synchronization, error propagation,
and Context cancellation for groups of goroutines working on subtasks of a
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)