From 6587a419bb3951a3ce864dd9ca1d8fa95cf56bb1 Mon Sep 17 00:00:00 2001 From: Arthur Rodrigues Date: Sun, 26 Oct 2025 19:52:54 +0000 Subject: [PATCH] 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 --- gnu/packages/golang-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm index 062298f52f04f745274e7c895631d36a0039f8ec..0ab2034ba7d634c1624434cca52b9ee26a2b18c4 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")