2018-10-16 19:11:47 +02:00
|
|
|
{ stdenv
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, argh
|
|
|
|
, pathtools
|
|
|
|
, pyyaml
|
|
|
|
, pkgs
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "watchdog";
|
2020-05-03 06:26:10 +02:00
|
|
|
version = "0.10.2";
|
2018-10-16 19:11:47 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-03 06:26:10 +02:00
|
|
|
sha256 = "0ss58k33l5vah894lykid6ar6kw7z1f29cl4hzr5xvgs8fvfyq65";
|
2018-10-16 19:11:47 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin
|
2019-06-20 18:40:52 +02:00
|
|
|
[ pkgs.darwin.apple_sdk.frameworks.CoreServices ];
|
2018-10-16 19:11:47 +02: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 03:11:51 +02:00
|
|
|
homepage = "https://github.com/gorakhargosh/watchdog";
|
2018-10-16 19:11:47 +02:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ goibhniu ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|