2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
beziers,
|
|
|
|
fonttools,
|
|
|
|
fs,
|
|
|
|
glyphtools,
|
|
|
|
lxml,
|
|
|
|
pytestCheckHook,
|
|
|
|
youseedee,
|
2024-01-02 11:29:13 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "fontfeatures";
|
|
|
|
version = "1.8.0";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "fontFeatures";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-XLJD91IyUUjeSqdhWFfIqv9yISPcbU4bgRvXETSHOiY=";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
beziers
|
|
|
|
fonttools
|
|
|
|
fs
|
|
|
|
glyphtools
|
|
|
|
lxml
|
|
|
|
youseedee
|
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = true;
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2024-01-02 11:29:13 +00:00
|
|
|
disabledTestPaths = [
|
|
|
|
# These tests require babelfont but we have to leave it out and skip them
|
|
|
|
# to break the cyclic dependency with babelfont.
|
|
|
|
"tests/test_shaping_generic.py"
|
|
|
|
"tests/test_shaping_harfbuzz.py"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python library for compiling OpenType font features";
|
|
|
|
homepage = "https://github.com/simoncozens/fontFeatures";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ danc86 ];
|
|
|
|
};
|
|
|
|
}
|