1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 beziers, 6 fonttools, 7 fs, 8 glyphtools, 9 lxml, 10 pytestCheckHook, 11 youseedee, 12}: 13 14buildPythonPackage rec { 15 pname = "fontfeatures"; 16 version = "1.8.0"; 17 format = "setuptools"; 18 19 src = fetchPypi { 20 pname = "fontFeatures"; 21 inherit version; 22 hash = "sha256-XLJD91IyUUjeSqdhWFfIqv9yISPcbU4bgRvXETSHOiY="; 23 }; 24 25 propagatedBuildInputs = [ 26 beziers 27 fonttools 28 fs 29 glyphtools 30 lxml 31 youseedee 32 ]; 33 34 nativeCheckInputs = [ pytestCheckHook ]; 35 disabledTestPaths = [ 36 # These tests require babelfont but we have to leave it out and skip them 37 # to break the cyclic dependency with babelfont. 38 "tests/test_shaping_generic.py" 39 "tests/test_shaping_harfbuzz.py" 40 ]; 41 42 meta = with lib; { 43 description = "Python library for compiling OpenType font features"; 44 homepage = "https://github.com/simoncozens/fontFeatures"; 45 license = licenses.bsd3; 46 maintainers = with maintainers; [ danc86 ]; 47 }; 48}