15 buildPythonPackage rec {
20 disabled = pythonOlder "3.5";
22 src = fetchFromGitHub {
25 rev = "refs/tags/v${version}";
26 fetchSubmodules = true;
27 hash = "sha256-N/Vprr1lJmDLUzf+aX374YbJhDuHOpPzNeYXpLOANeI=";
31 substituteInPlace pyproject.toml \
32 --replace-fail "setuptools >= 36.4, < 72.2" setuptools
42 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ ApplicationServices ];
44 nativeCheckInputs = [ pytestCheckHook ];
46 pythonImportsCheck = [ "uharfbuzz" ];
49 description = "Streamlined Cython bindings for the harfbuzz shaping engine";
50 homepage = "https://github.com/harfbuzz/uharfbuzz";
51 license = licenses.asl20;