python310Packages.skia-pathops: fix build on darwin
This commit is contained in:
parent
642fe4e3bb
commit
9d144953c4
@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, cython
|
||||
, ninja
|
||||
@ -7,6 +8,9 @@
|
||||
, fetchPypi
|
||||
, gn
|
||||
, pytestCheckHook
|
||||
, xcodebuild
|
||||
, ApplicationServices
|
||||
, OpenGL
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -26,7 +30,10 @@ buildPythonPackage rec {
|
||||
'build_cmd = [sys.executable, build_skia_py, "--no-fetch-gn", "--no-virtualenv", "--gn-path", "${gn}/bin/gn", build_dir]'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cython ninja setuptools-scm ];
|
||||
nativeBuildInputs = [ cython ninja setuptools-scm ]
|
||||
++ lib.optionals stdenv.isDarwin [ xcodebuild ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ ApplicationServices OpenGL ];
|
||||
|
||||
propagatedBuildInputs = [ setuptools ];
|
||||
|
||||
|
@ -3262,7 +3262,9 @@ in {
|
||||
|
||||
fontmake = callPackage ../development/python-modules/fontmake { };
|
||||
|
||||
skia-pathops = callPackage ../development/python-modules/skia-pathops { };
|
||||
skia-pathops = callPackage ../development/python-modules/skia-pathops {
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) ApplicationServices OpenGL;
|
||||
};
|
||||
|
||||
openstep-plist = callPackage ../development/python-modules/openstep-plist { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user