Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 724 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, argh 5, pathtools 6, pyyaml 7, pkgs 8}: 9 10buildPythonPackage rec { 11 pname = "watchdog"; 12 version = "0.10.3"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "4214e1379d128b0588021880ccaf40317ee156d4603ac388b9adcf29165e0c04"; 17 }; 18 19 buildInputs = stdenv.lib.optionals stdenv.isDarwin 20 [ pkgs.darwin.apple_sdk.frameworks.CoreServices ]; 21 propagatedBuildInputs = [ argh pathtools pyyaml ]; 22 23 doCheck = false; 24 25 meta = with stdenv.lib; { 26 description = "Python API and shell utilities to monitor file system events"; 27 homepage = "https://github.com/gorakhargosh/watchdog"; 28 license = licenses.asl20; 29 maintainers = with maintainers; [ goibhniu ]; 30 }; 31 32}