Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
52 lines
1.0 KiB
Nix
52 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
beziers,
|
|
fonttools,
|
|
fs,
|
|
glyphtools,
|
|
lxml,
|
|
pytestCheckHook,
|
|
youseedee,
|
|
setuptools-scm,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "fontfeatures";
|
|
version = "1.9.0";
|
|
|
|
pyproject = true;
|
|
build-system = [ setuptools-scm ];
|
|
|
|
src = fetchPypi {
|
|
pname = "fontfeatures";
|
|
inherit version;
|
|
hash = "sha256-3PpUgaTXyFcthJrFaQqeUOvDYYFosJeXuRFnFrwp0R8=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
beziers
|
|
fonttools
|
|
fs
|
|
glyphtools
|
|
lxml
|
|
youseedee
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
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 ];
|
|
};
|
|
}
|