python.pkgs.fontforge: disable with Python 2

Since the latest update, fontforge no longer supports building with Python 2. Let's prevent failing builds.
This commit is contained in:
Jan Tojnar 2020-07-22 23:16:55 +02:00
parent af5765b0dc
commit ce55b09ad5

View File

@ -3996,10 +3996,10 @@ in {
folium = callPackage ../development/python-modules/folium { }; folium = callPackage ../development/python-modules/folium { };
fontforge = toPythonModule (pkgs.fontforge.override { fontforge = disabledIf (!isPy3k) (toPythonModule (pkgs.fontforge.override {
withPython = true; withPython = true;
inherit python; inherit python;
}); }));
fonttools = callPackage ../development/python-modules/fonttools { }; fonttools = callPackage ../development/python-modules/fonttools { };