pythonPackages.qscintilla-qt5: fix build

This commit is contained in:
Benedikt Hunger 2019-10-22 09:49:50 +02:00 committed by Jon
parent ba66b51a4e
commit b27bdf4ec8

View File

@ -27,6 +27,8 @@ buildPythonPackage {
lndir ${pyqt5} $out lndir ${pyqt5} $out
rm -rf "$out/nix-support" rm -rf "$out/nix-support"
cd Python cd Python
substituteInPlace configure.py \
--replace "qmake = {'CONFIG': 'qscintilla2'}" "qmake = {'CONFIG': 'qscintilla2', 'QT': 'widgets printsupport'}"
${python.executable} ./configure.py \ ${python.executable} ./configure.py \
--pyqt=PyQt5 \ --pyqt=PyQt5 \
--destdir=$out/${python.sitePackages}/PyQt5 \ --destdir=$out/${python.sitePackages}/PyQt5 \
@ -45,6 +47,5 @@ buildPythonPackage {
license = licenses.lgpl21Plus; license = licenses.lgpl21Plus;
maintainers = with maintainers; [ lsix ]; maintainers = with maintainers; [ lsix ];
homepage = https://www.riverbankcomputing.com/software/qscintilla/; homepage = https://www.riverbankcomputing.com/software/qscintilla/;
broken = true;
}; };
} }