Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 24.05-beta 36 lines 767 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 fonttools, 6 pythonImportsCheckHook, 7 uharfbuzz, 8}: 9 10buildPythonPackage rec { 11 pname = "vharfbuzz"; 12 version = "0.3.0"; 13 format = "setuptools"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-bBKmVvLuc/CtQF+TSri8ngglnj4QCh77FV+JHPzsFAI="; 18 }; 19 20 propagatedBuildInputs = [ 21 fonttools 22 uharfbuzz 23 ]; 24 nativeBuildInputs = [ pythonImportsCheckHook ]; 25 26 # Package has no tests. 27 doCheck = false; 28 pythonImportsCheck = [ "vharfbuzz" ]; 29 30 meta = with lib; { 31 description = "Utility for removing hinting data from TrueType and OpenType fonts"; 32 homepage = "https://github.com/source-foundry/dehinter"; 33 license = licenses.asl20; 34 maintainers = with maintainers; [ danc86 ]; 35 }; 36}