1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, nose 5}: 6 7buildPythonPackage rec { 8 pname = "inotify"; 9 version = "unstable-2020-08-27"; 10 11 src = fetchFromGitHub { 12 owner = "dsoprea"; 13 repo = "PyInotify"; 14 rev = "f77596ae965e47124f38d7bd6587365924dcd8f7"; 15 sha256 = "X0gu4s1R/Kg+tmf6s8SdZBab2HisJl4FxfdwKktubVc="; 16 fetchSubmodules = false; 17 }; 18 19 nativeCheckInputs = [ 20 nose 21 ]; 22 23 # dunno what's wrong but the module works regardless 24 doCheck = false; 25 26 meta = with lib; { 27 homepage = "https://github.com/dsoprea/PyInotify"; 28 description = "Monitor filesystems events on Linux platforms with inotify"; 29 license = licenses.gpl2; 30 platforms = platforms.linux; 31 }; 32}