biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / uharfbuzz / default.nix
blobde30a780916653e6c97fe5fc6b9ba917cc25577c
2   lib,
3   stdenv,
4   buildPythonPackage,
5   fetchFromGitHub,
6   pythonOlder,
7   cython,
8   setuptools,
9   setuptools-scm,
10   pytestCheckHook,
11   ApplicationServices,
14 buildPythonPackage rec {
15   pname = "uharfbuzz";
16   version = "0.39.0";
17   pyproject = true;
19   disabled = pythonOlder "3.5";
21   src = fetchFromGitHub {
22     owner = "harfbuzz";
23     repo = "uharfbuzz";
24     rev = "refs/tags/v${version}";
25     fetchSubmodules = true;
26     hash = "sha256-I4fCaomq26FdkpiJdj+zyrbdqdynnD2hIutYTuTFvQs=";
27   };
29   nativeBuildInputs = [
30     cython
31     setuptools
32     setuptools-scm
33   ];
35   buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ ApplicationServices ];
37   nativeCheckInputs = [ pytestCheckHook ];
39   pythonImportsCheck = [ "uharfbuzz" ];
41   meta = with lib; {
42     description = "Streamlined Cython bindings for the harfbuzz shaping engine";
43     homepage = "https://github.com/harfbuzz/uharfbuzz";
44     license = licenses.asl20;
45     maintainers = [ ];
46   };