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