nixpkgs/pkgs/development/python-modules/fontfeatures/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

52 lines
1018 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, beziers
, fonttools
, fs
, glyphtools
, lxml
, pytestCheckHook
, youseedee
}:
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;
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 ];
};
}