Skip to content

Commit

Permalink
python312Packages.fontmake: fix build with fonttools 4.55
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao committed Feb 1, 2025
1 parent 7b9148e commit 383959b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pkgs/development/python-modules/fontmake/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
pytestCheckHook,
fontmath,
fonttools,
Expand All @@ -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
Expand Down

0 comments on commit 383959b

Please sign in to comment.