python3Packages.watchdog: enable tests

This commit is contained in:
Fabian Affolter 2021-02-01 23:32:12 +01:00
parent 33db0f7686
commit 44afe6bba1

View file

@ -5,6 +5,8 @@
, pathtools
, pyyaml
, pkgs
, pytest-cov
, pytestCheckHook
}:
buildPythonPackage rec {
@ -18,9 +20,19 @@ buildPythonPackage rec {
buildInputs = lib.optionals stdenv.isDarwin
[ pkgs.darwin.apple_sdk.frameworks.CoreServices ];
propagatedBuildInputs = [ argh pathtools pyyaml ];
doCheck = false;
propagatedBuildInputs = [
argh
pathtools
pyyaml
];
checkInputs = [
pytest-cov
pytestCheckHook
];
pythonImportsCheck = [ "watchdog" ];
meta = with lib; {
description = "Python API and shell utilities to monitor file system events";