python.pkgs.fontforge: disable with Python 2

Since the latest update, fontforge no longer supports building with Python 2. Let's prevent failing builds.
gstqt5
Jan Tojnar 2020-07-22 23:16:55 +02:00
parent af5765b0dc
commit ce55b09ad5
1 changed files with 2 additions and 2 deletions

View File

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