[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#72594] [PATCH 1/7] gnu: Add go-github-com-gofrs-flock.
From: |
Artyom V. Poptsov |
Subject: |
[bug#72594] [PATCH 1/7] gnu: Add go-github-com-gofrs-flock. |
Date: |
Mon, 12 Aug 2024 20:26:23 +0300 |
* gnu/packages/golang.scm (go-github-com-gofrs-flock): New variable.
Change-Id: If6856319258ec93f4119f4f7ec79d206d7e1087d
---
gnu/packages/golang.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 799a7d75ce..e74c50f2e7 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2556,6 +2556,33 @@ (define-public go-github-com-gizak-termui
mouse, and terminal resizing events.")
(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
+ '(#: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-golangplus-fmt
(package
(name "go-github-com-golangplus-fmt")
--
2.45.2
- [bug#72594] [PATCH 0/7] Add some of the Google gvisor dependencies., Artyom V. Poptsov, 2024/08/12
- [bug#72594] [PATCH 1/7] gnu: Add go-github-com-gofrs-flock.,
Artyom V. Poptsov <=
- [bug#72594] [PATCH 2/7] gnu: Add go-github-com-google-subcommands., Artyom V. Poptsov, 2024/08/12
- [bug#72594] [PATCH 4/7] gnu: Add go-github-com-mohae-deepcopy., Artyom V. Poptsov, 2024/08/12
- [bug#72594] [PATCH 3/7] gnu: Add go-github-com-mattbaird-jsonpatch., Artyom V. Poptsov, 2024/08/12
- [bug#72594] [PATCH 5/7] gnu: Add go-github-com-containerd-fifo., Artyom V. Poptsov, 2024/08/12
- [bug#72594] [PATCH 7/7] gnu: Add go-github-com-containerd-typeurl-v2., Artyom V. Poptsov, 2024/08/12
- [bug#72594] [PATCH 6/7] gnu: Add go-github-com-containerd-typeurl., Artyom V. Poptsov, 2024/08/12
- bug#72594: [PATCH 0/7] Add some of the Google gvisor dependencies., Sharlatan Hellseher, 2024/08/21