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
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
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;
};
}

View file

@ -8471,7 +8471,9 @@ in {
wasmer = callPackage ../development/python-modules/wasmer { };
watchdog = callPackage ../development/python-modules/watchdog { };
watchdog = callPackage ../development/python-modules/watchdog {
inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices;
};
waterfurnace = callPackage ../development/python-modules/waterfurnace { };