12 buildPythonPackage rec {
15 format = "setuptools";
17 disabled = pythonOlder "3.5";
19 # Fetching from GitHub as Pypi contains different versions
20 src = fetchFromGitHub {
24 sha256 = "sha256-DyFXbwB28JH2lvmWDezRh49tjCvleviUNSE5LHG3kUg=";
25 fetchSubmodules = true;
28 SETUPTOOLS_SCM_PRETEND_VERSION = version;
35 buildInputs = lib.optionals stdenv.isDarwin [ ApplicationServices ];
41 pythonImportsCheck = [ "uharfbuzz" ];
44 description = "Streamlined Cython bindings for the harfbuzz shaping engine";
45 homepage = "https://github.com/harfbuzz/uharfbuzz";
46 license = licenses.asl20;
47 maintainers = with maintainers; [ wolfangaukang ];