python312Packages.fontmake: fix build with fonttools 4.55

This commit is contained in:
Nick Cao
2025-02-01 16:03:38 -05:00
parent 7b9148e27a
commit 383959baa6
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
pytestCheckHook,
fontmath,
fonttools,
@@ -26,6 +27,16 @@ buildPythonPackage rec {
hash = "sha256-ZlK8QyZ5cIEphFiZXMV/Z5pL9H62X2UwLBtpwLGpUMQ=";
};
patches = [
# Update to FontTools 4.55 and glyphsLib 6.9.5
# https://github.com/googlefonts/fontmake/pull/1133
(fetchpatch2 {
url = "https://github.com/googlefonts/fontmake/commit/ca96d25faa67638930ddc7f9bd1ab218a76caf22.patch";
includes = [ "tests/test_main.py" ];
hash = "sha256-vz+KeWiGCpUdX5HaXDdyyUCbuMkIylB364j6cD7xR1E=";
})
];
build-system = [
setuptools
setuptools-scm