nixpkgs/pkgs/development/python-modules/watchdog/default.nix

33 lines
724 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, argh
, pathtools
, pyyaml
, pkgs
}:
buildPythonPackage rec {
pname = "watchdog";
2020-07-31 09:56:49 +01:00
version = "0.10.3";
src = fetchPypi {
inherit pname version;
2020-07-31 09:56:49 +01:00
sha256 = "4214e1379d128b0588021880ccaf40317ee156d4603ac388b9adcf29165e0c04";
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin
2019-06-20 17:40:52 +01:00
[ pkgs.darwin.apple_sdk.frameworks.CoreServices ];
propagatedBuildInputs = [ argh pathtools pyyaml ];
doCheck = false;
meta = with stdenv.lib; {
description = "Python API and shell utilities to monitor file system events";
homepage = "https://github.com/gorakhargosh/watchdog";
license = licenses.asl20;
maintainers = with maintainers; [ goibhniu ];
};
}