2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
nose,
|
2021-12-06 16:07:01 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "inotify";
|
|
|
|
version = "unstable-2020-08-27";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dsoprea";
|
|
|
|
repo = "PyInotify";
|
|
|
|
rev = "f77596ae965e47124f38d7bd6587365924dcd8f7";
|
|
|
|
sha256 = "X0gu4s1R/Kg+tmf6s8SdZBab2HisJl4FxfdwKktubVc=";
|
|
|
|
fetchSubmodules = false;
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ nose ];
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
# dunno what's wrong but the module works regardless
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/dsoprea/PyInotify";
|
|
|
|
description = "Monitor filesystems events on Linux platforms with inotify";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|