···2525 DESTDIR=$(out)
2626 '';
27272828- propagatedBuildInputs = with python3Packages; [ pyqt5 ];
2828+ propagatedBuildInputs = with python3Packages; [ pyqt5_with_qtwebkit ];
29293030 postInstall = ''
3131 # replace with our own wrappers. They need to be changed manually since it wouldn't work otherwise
+2-2
pkgs/applications/misc/calibre/default.nix
···2323 ] ++ stdenv.lib.optional (!unrarSupport) ./dont_build_unrar_plugin.patch;
24242525 prePatch = ''
2626- sed -i "/pyqt_sip_dir/ s:=.*:= '${python2Packages.pyqt5}/share/sip/PyQt5':" \
2626+ sed -i "/pyqt_sip_dir/ s:=.*:= '${python2Packages.pyqt5_with_qtwebkit}/share/sip/PyQt5':" \
2727 setup/build_environment.py
28282929 # Remove unneeded files and libs
···4242 fontconfig podofo qtbase chmlib icu sqlite libusb1 libmtp xdg_utils wrapGAppsHook
4343 ] ++ (with python2Packages; [
4444 apsw cssselect cssutils dateutil dnspython html5-parser lxml mechanize netifaces pillow
4545- python pyqt5 sip
4545+ python pyqt5_with_qtwebkit sip
4646 regex msgpack
4747 # the following are distributed with calibre, but we use upstream instead
4848 odfpy