summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorGhislain Vaillant <ghislain.vaillant@inria.fr>2025-09-28 21:56:10 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-01 13:54:53 +0100
commitf627558ec77686ee8746eb4575cfb319ea5134a6 (patch)
tree9a7ed7d593e5187b6cf01abc103b7fe8cee6a967 /gnu/packages/python-xyz.scm
parentdb6d6b00e7a82f91622c3e94de2fac860b6abf79 (diff)
gnu: Add python-inotify.
* gnu/packages/python-xyz.scm (python-inotify): New variable. Change-Id: Iff49c585ee257161c86e6ef12f84233d33e504ae Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fff24de1bd..9ce26e5a42 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1082,6 +1082,37 @@ supports:
identities.")
(license license:asl2.0)))
+(define-public python-inotify
+ (package
+ (name "python-inotify")
+ (version "0.2.12")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dsoprea/PyInotify")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1n1rqpzk70ap2i4zk2k0znz407i909y2001v65agy7y30apjzb67"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-requirements
+ (lambda _
+ (substitute* "inotify/resources/requirements.txt"
+ (("build")
+ "")))))))
+ (native-inputs (list python-pytest python-setuptools))
+ (home-page "https://github.com/dsoprea/PyInotify")
+ (synopsis "Linux filesystem activity monitor library for Python")
+ (description
+ "This package provides an efficient and elegant inotify (Linux filesystem
+activity monitor) library for Python.")
+ (license license:gpl2)))
+
(define-public python-jsonpath-ng
(package
(name "python-jsonpath-ng")