mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
pythonPackages.watchdog: remove pkgs from inputs, mark broken on darwin
This commit is contained in:
parent
545b85e0ef
commit
c9a3ac5d3c
2 changed files with 9 additions and 6 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue