Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 nose, 6}: 7 8buildPythonPackage rec { 9 pname = "inotify"; 10 version = "unstable-2020-08-27"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "dsoprea"; 15 repo = "PyInotify"; 16 rev = "f77596ae965e47124f38d7bd6587365924dcd8f7"; 17 sha256 = "X0gu4s1R/Kg+tmf6s8SdZBab2HisJl4FxfdwKktubVc="; 18 fetchSubmodules = false; 19 }; 20 21 nativeCheckInputs = [ nose ]; 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}