23 url = "https://launchpad.net/qpdfview/trunk/${version}/+download/qpdfview-0.5.tar.gz";
24 hash = "sha256-RO/EQKRhy911eps5bxRh7novQ2ToHfVb0CIfkQIZvpk=";
44 # needed for qmakeFlags+=( below
45 __structuredAttrs = true;
53 "TARGET_INSTALL_PATH=${placeholder "out"}/bin"
54 "PLUGIN_INSTALL_PATH=${placeholder "out"}/lib/qpdfview"
55 "DATA_INSTALL_PATH=${placeholder "out"}/share/qpdfview"
56 "MANUAL_INSTALL_PATH=${placeholder "out"}/share/man/man1"
57 "ICON_INSTALL_PATH=${placeholder "out"}/share/icons/hicolor/scalable/apps"
58 "LAUNCHER_INSTALL_PATH=${placeholder "out"}/share/applications"
59 "APPDATA_INSTALL_PATH=${placeholder "out"}/share/appdata"
63 # Fix build due to missing `std::option`.
64 NIX_CFLAGS_COMPILE = "-std=c++17";
68 description = "Tabbed document viewer";
69 mainProgram = "qpdfview";
70 license = licenses.gpl2Plus;
71 maintainers = with maintainers; [ raskin ];
72 platforms = platforms.linux;
73 homepage = "https://launchpad.net/qpdfview";