1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 setuptools-scm,
7 fonttools,
8 uharfbuzz,
9}:
10
11buildPythonPackage rec {
12 pname = "vharfbuzz";
13 version = "0.3.1";
14 pyproject = true;
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-zFVw8Nxh7cRJNk/S7D3uiIGShBMiZ/JeuSdX4hN94kc=";
19 };
20
21 build-system = [
22 setuptools
23 setuptools-scm
24 ];
25
26 dependencies = [
27 fonttools
28 uharfbuzz
29 ];
30
31 # Package has no tests.
32 doCheck = false;
33
34 pythonImportsCheck = [ "vharfbuzz" ];
35
36 meta = with lib; {
37 description = "Utility for removing hinting data from TrueType and OpenType fonts";
38 homepage = "https://github.com/source-foundry/dehinter";
39 license = licenses.asl20;
40 maintainers = with maintainers; [ danc86 ];
41 };
42}