From d0177347d8e700b9f833a24e6d5ae7bfc98320f2 Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Mon, 20 Jun 2022 16:02:33 -0400 Subject: [PATCH] python3Packages.uharfbuzz: fix on Darwin --- pkgs/development/python-modules/uharfbuzz/default.nix | 6 +++++- pkgs/top-level/python-packages.nix | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/uharfbuzz/default.nix b/pkgs/development/python-modules/uharfbuzz/default.nix index f545acb97613..a2fb2940b809 100644 --- a/pkgs/development/python-modules/uharfbuzz/default.nix +++ b/pkgs/development/python-modules/uharfbuzz/default.nix @@ -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; }; } diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1692b130b44c..ec67b692b4a9 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };