2018-10-16 18:11:47 +01:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, argh
|
|
|
|
, pathtools
|
|
|
|
, pyyaml
|
|
|
|
, pkgs
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "watchdog";
|
2020-11-29 14:04:45 +00:00
|
|
|
version = "0.10.4";
|
2018-10-16 18:11:47 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-29 14:04:45 +00:00
|
|
|
sha256 = "e38bffc89b15bafe2a131f0e1c74924cf07dcec020c2e0a26cccd208831fcd43";
|
2018-10-16 18:11:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin
|
2019-06-20 17:40:52 +01:00
|
|
|
[ pkgs.darwin.apple_sdk.frameworks.CoreServices ];
|
2018-10-16 18:11:47 +01:00
|
|
|
propagatedBuildInputs = [ argh pathtools pyyaml ];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python API and shell utilities to monitor file system events";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/gorakhargosh/watchdog";
|
2018-10-16 18:11:47 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ goibhniu ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|