2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-16 18:11:47 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, argh
|
|
|
|
, pathtools
|
|
|
|
, pyyaml
|
|
|
|
, pkgs
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "watchdog";
|
2021-02-01 22:24:49 +00:00
|
|
|
version = "1.0.2";
|
2018-10-16 18:11:47 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-01 22:24:49 +00:00
|
|
|
sha256 = "sha256-N2y8KjXAOSsP5/8W+8GzA/2Z1N2ZEatVge6daa3IiYI=";
|
2018-10-16 18:11:47 +01:00
|
|
|
};
|
|
|
|
|
2021-01-24 00:29:22 +00:00
|
|
|
buildInputs = 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;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-10-16 18:11:47 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|