summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Rodrigues <arthurhdrodrigues@proton.me>2025-10-26 19:52:54 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-09 09:10:05 +0000
commit6587a419bb3951a3ce864dd9ca1d8fa95cf56bb1 (patch)
tree4403be71801607c438ef3a65689d610246b1f40e
parente249fca6eb47f8f7d9081ddef2beca945370e3db (diff)
gnu: Add go-github-com-alexflint-go-filemutex.
* gnu/packages/golang-xyz.scm (go-github-com-alexflint-go-filemutex): New variable. Change-Id: Ic6e7bc6f73b05f7aeea49ea5e018ff7eefb28417 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/golang-xyz.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index 062298f52f0..0ab2034ba7d 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -1431,6 +1431,34 @@ strings for a safe use as command line arguments in the most common POSIX
shells.")
(license license:expat)))
+(define-public go-github-com-alexflint-go-filemutex
+ (package
+ (name "go-github-com-alexflint-go-filemutex")
+ (version "1.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/alexflint/go-filemutex")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0kx31qar8265jrvdvwja1snlfy6kxpaay654lqqsalp1spgrcazp"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ #:import-path "github.com/alexflint/go-filemutex"))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (propagated-inputs
+ (list go-golang-org-x-sys))
+ (home-page "https://github.com/alexflint/go-filemutex")
+ (synopsis "File Mutex that synchronizes across processes")
+ (description
+ "@code{FileMutex} is similar to @code{sync.RWMutex}, but also
+synchronizes across processes.")
+ (license license:expat)))
+
(define-public go-github-com-alsm-ioprogress
(package
(name "go-github-com-alsm-ioprogress")