about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/vharfbuzz/default.nix
blob: 6551ef2cbb7a5524e04a1171c64e695a4aa4522b (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.3.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-bBKmVvLuc/CtQF+TSri8ngglnj4QCh77FV+JHPzsFAI=";
  };

  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 ];
  };
}