gnu: Add go-github-com-jacobsa-syncutil.

* gnu/packages/golang-xyz.scm (go-github-com-jacobsa-syncutil): New variable.

Change-Id: I38aa26a5ca8f33a90c9d71863e3330a31c624b42
This commit is contained in:
Sharlatan Hellseher 2024-12-19 17:10:55 +00:00
parent 852d26ed86
commit 05a4dcb208
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -5522,6 +5522,43 @@ any concurrent code of its own.")
(propagated-inputs
(list go-golang-org-x-sync))))
(define-public go-github-com-jacobsa-syncutil
(package
(name "go-github-com-jacobsa-syncutil")
(version "0.0.0-20180201203307-228ac8e5a6c3")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/jacobsa/syncutil")
(commit (go-version->git-ref version))))
(file-name (git-file-name name version))
(sha256
(base32 "0dylp0qaabm8djqmn0qjki3gy9wnq23cbr4k4g63zk4axqgm2ns2"))))
(build-system go-build-system)
(arguments
(list
#:import-path "github.com/jacobsa/syncutil"))
(native-inputs
(list go-github-com-jacobsa-oglematchers
go-github-com-jacobsa-ogletest))
(propagated-inputs
(list go-golang-org-x-net))
(home-page "https://github.com/jacobsa/syncutil")
(synopsis "Code supplementing Go's sync package")
(description
"This package contains code that supplements the
@url{http://godoc.org/sync,sync} package from the Go standard library.
In particular:
@itemize
@item Bundle, which makes it easy to write code that spawns multiple
cancellation-aware workers that may fail
@item invariantMutex, which makes it possible to automatically check your
invariants at lock and unlock time
@end itemize")
(license license:asl2.0)))
(define-public go-github-com-jacobsa-timeutil
(package
(name "go-github-com-jacobsa-timeutil")