Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 744 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.9.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "965f658d0732de3188211932aeb0bb457587f04f63ab4c1e33eab878e9de961d"; 17 }; 18 19 buildInputs = stdenv.lib.optionals stdenv.isDarwin 20 [ pkgs.darwin.apple_sdk.frameworks.CoreServices pkgs.darwin.cf-private ]; 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}