at master 693 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 6 build, 7 setuptools, 8 9 nose2, 10 pytestCheckHook, 11}: 12 13buildPythonPackage rec { 14 pname = "inotify"; 15 version = "0.2.12"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "dsoprea"; 20 repo = "PyInotify"; 21 tag = version; 22 hash = "sha256-x6wvrwLDH/9UMTsAIHwCKR5Avv1givlJFFeBM//FOdg="; 23 }; 24 25 build-system = [ 26 build 27 setuptools 28 ]; 29 30 nativeCheckInputs = [ 31 nose2 32 pytestCheckHook 33 ]; 34 35 meta = { 36 homepage = "https://github.com/dsoprea/PyInotify"; 37 description = "Monitor filesystems events on Linux platforms with inotify"; 38 license = lib.licenses.gpl2; 39 platforms = lib.platforms.linux; 40 }; 41}