mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-26 14:04:52 +00:00
Merge pull request #215300 from elohmeier/watchfiles-darwin
python3Packages.watchfiles: fix build on Darwin
This commit is contained in:
commit
6b5a3cda27
@ -11,6 +11,8 @@
|
||||
, pytest-timeout
|
||||
, pytestCheckHook
|
||||
, python
|
||||
, CoreServices
|
||||
, libiconv
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -33,6 +35,11 @@ buildPythonPackage rec {
|
||||
hash = "sha256-IWONA3o+2emJ7cKEw5xYSMdWzGuUSwn1B70zUDzj7Cw=";
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
CoreServices
|
||||
libiconv
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
] ++ (with rustPlatform; [
|
||||
cargoSetupHook
|
||||
@ -69,6 +76,5 @@ buildPythonPackage rec {
|
||||
homepage = "https://watchfiles.helpmanual.io/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
broken = stdenv.isDarwin;
|
||||
};
|
||||
}
|
||||
|
@ -12185,7 +12185,9 @@ self: super: with self; {
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
|
||||
watchfiles = callPackage ../development/python-modules/watchfiles { };
|
||||
watchfiles = callPackage ../development/python-modules/watchfiles {
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices;
|
||||
};
|
||||
|
||||
watchgod = callPackage ../development/python-modules/watchgod { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user