mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 14:07:01 +01:00
gnu: Add go-github-com-gofrs-flock.
* gnu/packages/golang-xyz.scm (go-github-com-gofrs-flock): New variable. Change-Id: If6856319258ec93f4119f4f7ec79d206d7e1087d Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
6131cfc818
commit
fe10af6375
1 changed files with 29 additions and 0 deletions
|
@ -2542,6 +2542,35 @@ (define-public go-github-com-goccy-go-yaml
|
||||||
@end itemize")
|
@end itemize")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public go-github-com-gofrs-flock
|
||||||
|
(package
|
||||||
|
(name "go-github-com-gofrs-flock")
|
||||||
|
(version "0.12.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/gofrs/flock/")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "0kfnbcahr9x61k40wsrqzxxr3ybix0jqsm4ibpjgnhfgrln7ag8v"))))
|
||||||
|
(build-system go-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:import-path "github.com/gofrs/flock"))
|
||||||
|
(native-inputs
|
||||||
|
(list go-github-com-stretchr-testify))
|
||||||
|
(propagated-inputs
|
||||||
|
(list go-golang-org-x-sys))
|
||||||
|
(home-page "https://github.com/gofrs/flock/")
|
||||||
|
(synopsis "Thread-safe file locking library in Go")
|
||||||
|
(description
|
||||||
|
"@code{flock} implements a thread-safe file lock. It also includes a
|
||||||
|
non-blocking @code{TryLock} function to allow locking without blocking
|
||||||
|
execution.")
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public go-github-com-gookit-color
|
(define-public go-github-com-gookit-color
|
||||||
(package
|
(package
|
||||||
(name "go-github-com-gookit-color")
|
(name "go-github-com-gookit-color")
|
||||||
|
|
Loading…
Reference in a new issue