2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
inotify-simple,
|
2021-08-18 13:19:15 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "inotifyrecursive";
|
|
|
|
version = "0.3.5";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-08-18 13:19:15 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "osRQsxdpPkU4QW+Q6x14WFBtr+a4uIUDe9LdmuLa+h4=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ inotify-simple ];
|
|
|
|
|
|
|
|
# No tests included
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ pname ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple recursive inotify watches for Python";
|
|
|
|
homepage = "https://github.com/letorbi/inotifyrecursive";
|
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
maintainers = with maintainers; [ Flakebi ];
|
|
|
|
};
|
|
|
|
}
|