pythonPackages.watchdog: remove pkgs from inputs, mark broken on darwin

This commit is contained in:
Sandro Jäckel
2021-03-09 09:34:39 +01:00
parent 545b85e0ef
commit c9a3ac5d3c
2 changed files with 9 additions and 6 deletions

View File

@@ -1,13 +1,14 @@
{ lib, stdenv
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, fetchpatch
, argh
, pathtools
, pyyaml
, pkgs
, pytest-cov
, pytestCheckHook
, CoreServices
}:
buildPythonPackage rec {
@@ -27,8 +28,7 @@ buildPythonPackage rec {
})
];
buildInputs = lib.optionals stdenv.isDarwin
[ pkgs.darwin.apple_sdk.frameworks.CoreServices ];
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
propagatedBuildInputs = [
argh
@@ -48,6 +48,7 @@ buildPythonPackage rec {
homepage = "https://github.com/gorakhargosh/watchdog";
license = licenses.asl20;
maintainers = with maintainers; [ goibhniu ];
# error: use of undeclared identifier 'kFSEventStreamEventFlagItemCloned'
broken = stdenv.isDarwin;
};
}