about summary refs log tree commit diff
path: root/pkgs/development/python-modules/vharfbuzz/default.nix
blob: 27ea9d84f256441fb88eb1b72fe48d39b5fee8b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ lib
, buildPythonPackage
, fetchPypi
, fonttools
, pythonImportsCheckHook
, uharfbuzz
}:

buildPythonPackage rec {
  pname = "vharfbuzz";
  version = "0.2.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-uDX2fYqxV4wmAAIMfA3dBohWmq1N0VurSTEFOjSRpmY=";
  };

  propagatedBuildInputs = [
    fonttools
    uharfbuzz
  ];
  nativeBuildInputs = [
    pythonImportsCheckHook
  ];

  # Package has no tests.
  doCheck = false;
  pythonImportsCheck = [ "vharfbuzz" ];

  meta = with lib; {
    description = "Utility for removing hinting data from TrueType and OpenType fonts";
    homepage = "https://github.com/source-foundry/dehinter";
    license = licenses.asl20;
    maintainers = with maintainers; [ danc86 ];
  };
}