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