Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / uharfbuzz / default.nix
blobb4ea16f1abd5e9d77d01de754a2655a5be7863a9
1 { lib
2 , stdenv
3 , buildPythonPackage
4 , fetchFromGitHub
5 , pythonOlder
6 , cython
7 , setuptools
8 , setuptools-scm
9 , pytestCheckHook
10 , ApplicationServices
13 buildPythonPackage rec {
14   pname = "uharfbuzz";
15   version = "0.39.0";
16   pyproject = true;
18   disabled = pythonOlder "3.5";
20   src = fetchFromGitHub {
21     owner = "harfbuzz";
22     repo = "uharfbuzz";
23     rev = "refs/tags/v${version}";
24     fetchSubmodules = true;
25     hash = "sha256-I4fCaomq26FdkpiJdj+zyrbdqdynnD2hIutYTuTFvQs=";
26   };
28   nativeBuildInputs = [
29     cython
30     setuptools
31     setuptools-scm
32   ];
34   buildInputs = lib.optionals stdenv.isDarwin [ ApplicationServices ];
36   nativeCheckInputs = [
37     pytestCheckHook
38   ];
40   pythonImportsCheck = [ "uharfbuzz" ];
42   meta = with lib; {
43     description = "Streamlined Cython bindings for the harfbuzz shaping engine";
44     homepage = "https://github.com/harfbuzz/uharfbuzz";
45     license = licenses.asl20;
46     maintainers = with maintainers; [ ];
47   };