guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20/46: gnu: Add python-flufl-lock.


From: guix-commits
Subject: 20/46: gnu: Add python-flufl-lock.
Date: Tue, 21 Jul 2020 08:49:39 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit cd760d221c7a04542ff8edada678b836992f68b8
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jul 21 11:29:33 2020 +0300

    gnu: Add python-flufl-lock.
    
    * gnu/packages/python-xyz.scm (python-flufl-lock): New variable.
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ef7a4f3..7361fa7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20715,3 +20715,28 @@ file format of section, keys, and values.  The config 
file supports inheritance
 to minimize duplication of information across files.  The format supports 
schema
 validation.")
     (license license:lgpl3)))
+
+(define-public python-flufl-lock
+  (package
+    (name "python-flufl-lock")
+    (version "4.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "flufl.lock" version))
+        (sha256
+         (base32
+          "055941zyma3wfx25jhm8wcsghpv3jc3iwi1gdrdjhzcnfhn62lxq"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-atpublic" ,python-atpublic)
+       ("python-psutil" ,python-psutil)))
+    (home-page "https://flufllock.readthedocs.io";)
+    (synopsis "NFS-safe file locking with timeouts for POSIX systems")
+    (description
+     "The @dfn{flufl.lock} package provides NFS-safe file locking with
+timeouts for POSIX systems.  It is similar to the @code{O_EXCL} option of the
+@code{open} system call but uses a lockfile.  Lock objects support 
lock-breaking
+and have a maximum lifetime built-in.")
+    (license (list license:asl2.0
+                   license:lgpl3))))    ; only for setup_helpers.py



reply via email to

[Prev in Thread] Current Thread [Next in Thread]