summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorJakub Kądziołka <kuba@kadziolka.net>2020-03-05 18:08:20 +0100
committerJakub Kądziołka <kuba@kadziolka.net>2020-03-09 00:20:47 +0100
commit6e792089540c73ca1d4ed0a9fd96819e7b66e8f2 (patch)
tree61b8e47252d03bfa0cbc54a19bd97b0165841c1d /gnu
parentf2a64830842939aa3f101109cd0d5635e45c9359 (diff)
downloadguix-6e792089540c73ca1d4ed0a9fd96819e7b66e8f2.tar.gz
gnu: python-xyz: Add python-filelock.
* gnu/packages/python-xyz.scm (python-filelock): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b2b8c28785..30d7c2aaa0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -671,6 +671,26 @@ API for locking files.")
 (define-public python2-lockfile
   (package-with-python2 python-lockfile))
 
+(define-public python-filelock
+  (package
+    (name "python-filelock")
+    (version "3.0.12")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "filelock" version))
+       (sha256
+        (base32
+         "0ngzlvb5j8gqs2nxlp2b0jhzii792h66wsn694qm8kqixr225n0q"))))
+    (build-system python-build-system)
+    (home-page
+     "https://github.com/benediktschmitt/py-filelock")
+    (synopsis "Platform independent file lock")
+    (description "@code{filelock} contains a single module implementing
+a platform independent file lock in Python, which provides a simple way of
+inter-process communication.")
+    (license license:unlicense)))
+
 (define-public python-semantic-version
   (package
     (name "python-semantic-version")