1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5}: 6 7buildPythonPackage rec { 8 pname = "pyinotify"; 9 version = "0.9.6"; 10 format = "setuptools"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "1x3i9wmzw33fpkis203alygfnrkcmq9w1aydcm887jh6frfqm6cw"; 15 }; 16 17 patches = [ ./skip-asyncore-python-3.12.patch ]; 18 19 # No tests distributed 20 doCheck = false; 21 22 pythonImportsCheck = [ "pyinotify" ]; 23 24 meta = with lib; { 25 homepage = "https://github.com/seb-m/pyinotify/wiki"; 26 description = "Monitor filesystems events on Linux platforms with inotify"; 27 license = licenses.mit; 28 platforms = platforms.linux; 29 }; 30}