Merge pull request #178359 from lovesegfault/darwin-fix-uharfbuzz

python3Packages.uharfbuzz: fix on Darwin
This commit is contained in:
Bernardo Meurer 2022-06-21 10:56:35 -04:00 committed by GitHub
commit 3873ebba5f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View file

@ -6,6 +6,7 @@
, cython
, setuptools-scm
, pytestCheckHook
, ApplicationServices
}:
buildPythonPackage rec {
@ -31,6 +32,10 @@ buildPythonPackage rec {
setuptools-scm
];
buildInputs = [
ApplicationServices
];
checkInputs = [
pytestCheckHook
];
@ -42,6 +47,5 @@ buildPythonPackage rec {
homepage = "https://github.com/harfbuzz/uharfbuzz";
license = licenses.asl20;
maintainers = with maintainers; [ wolfangaukang ];
broken = stdenv.isDarwin;
};
}

View file

@ -10843,7 +10843,9 @@ in {
ueagle = callPackage ../development/python-modules/ueagle { };
uharfbuzz = callPackage ../development/python-modules/uharfbuzz { };
uharfbuzz = callPackage ../development/python-modules/uharfbuzz {
inherit (pkgs.darwin.apple_sdk.frameworks) ApplicationServices;
};
ujson = callPackage ../development/python-modules/ujson { };