From f627558ec77686ee8746eb4575cfb319ea5134a6 Mon Sep 17 00:00:00 2001 From: Ghislain Vaillant Date: Sun, 28 Sep 2025 21:56:10 +0200 Subject: [PATCH] gnu: Add python-inotify. * gnu/packages/python-xyz.scm (python-inotify): New variable. Change-Id: Iff49c585ee257161c86e6ef12f84233d33e504ae Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index fff24de1bdc7e7fae968bc981a2561478b687eec..9ce26e5a42847df86654770ce261f80c3c679115 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")