@@ -14,11 +14,13 @@ let
1414 buildInputs = [
1515 qtbase qtsvg poppler djvulibre libspectre cups file ghostscript
1616 ];
17+ # apply upstream fix for qt5.15 https://bazaar.launchpad.net/~adamreichold/qpdfview/trunk/revision/2104
18+ patches = [ ./qpdfview-qt515-compat.patch ];
1719in
1820mkDerivation {
1921 pname = s.baseName;
2022 inherit (s) version;
21− inherit nativeBuildInputs buildInputs;
23+ inherit nativeBuildInputs buildInputs patches;
2224 src = fetchurl {
2325 inherit (s) url sha256;
2426 };
@@ -40,7 +42,7 @@ mkDerivation {
4042 meta = {
4143 inherit (s) version;
4244 description = "A tabbed document viewer";
43− license = lib.licenses.gpl2;
45+ license = lib.licenses.gpl2Plus;
4446 maintainers = [lib.maintainers.raskin];
4547 platforms = lib.platforms.linux;
4648 homepage = "https://launchpad.net/qpdfview";