guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 4345d9197b2b9a4cfbd9f02163036b21a61d4364
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Sep 11 10:53:34 2025 +0100

    gnu: Add go-github-com-nightlyone-lockfile.
    
    * gnu/packages/golang-xyz.scm (go-github-com-nightlyone-lockfile): New 
variable.
    
    Change-Id: I82c3d42cf350bc71dc5315f84f76d43c9677ac26
---
 gnu/packages/golang-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index f6c637787b..6f9a96ffe2 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -15188,6 +15188,33 @@ through it's psuedoterminal.")
 list of sentences.")
     (license license:expat)))
 
+(define-public go-github-com-nightlyone-lockfile
+  (package
+    (name "go-github-com-nightlyone-lockfile")
+    (version "1.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/nightlyone/lockfile";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "092r6gv27khplc3srg2ai7214hnvpms6klnsl66x49mspq10b7l5"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/nightlyone/lockfile"))
+    (home-page "https://github.com/nightlyone/lockfile";)
+    (synopsis " Handle locking via pid files ")
+    (description
+     "Package lockfile handles pid file based locking.  While a
+@code{sync.Mutex} helps against concurrency issues within a single process,
+this package is designed to help against concurrency issues between
+cooperating processes or serializing multiple invocations of the same
+process.")
+    (license license:expat)))
+
 (define-public go-github-com-niklasfasching-go-org
   (package
     (name "go-github-com-niklasfasching-go-org")

Reply via email to