Files
nixpkgs/pkgs/development/python-modules/fontfeatures/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

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 = {
description = "Python library for compiling OpenType font features";
homepage = "https://github.com/simoncozens/fontFeatures";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ danc86 ];
};
}