15 stdenv.mkDerivation (finalAttrs: {
19 src = fetchFromGitHub {
22 rev = "v${finalAttrs.version}";
23 hash = "sha256-NlIy/C4uHRG5wwXPuqCShe113qhhsQ5jp50zrOLLA2c=";
27 # lcms2 cmake module only appears when built with vcpkg.
28 # We directly search for the corresponding libraries and
29 # header files instead.
30 ./find_lcms2_path.patch
38 # GLib-GIO-ERROR: No GSettings schemas are installed on the system
54 (lib.cmakeBool "PDF4QT_INSTALL_TO_USR" false)
60 qtWrapperArgs+=(''${gappsWrapperArgs[@]})
64 description = "Open source PDF editor";
66 This software is consisting of PDF rendering library,
67 and several applications, such as advanced document
68 viewer, command line tool, and document page
69 manipulator application. Software is implementing PDF
70 functionality based on PDF Reference 2.0.
72 homepage = "https://jakubmelka.github.io";
73 license = lib.licenses.lgpl3Only;
74 mainProgram = "Pdf4QtViewerLite";
75 maintainers = with lib.maintainers; [ aleksana ];
76 platforms = lib.platforms.linux;