summary refs log tree commit diff
path: root/pkgs/applications/kde/okular.nix
blob: 499e8cc93681ccd70aefddd6e6f04d9a86220aa5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
  kdeApp, lib, kdeWrapper,
  ecm, kdoctools,
  djvulibre, ebook_tools, kactivities, karchive, kbookmarks, kcompletion,
  kconfig, kconfigwidgets, kcoreaddons, kdbusaddons, kdegraphics-mobipocket,
  kiconthemes, kjs, khtml, kio, kparts, kpty, kwallet, kwindowsystem, libkexiv2,
  libspectre, poppler, qca-qt5, qtdeclarative, qtsvg, threadweaver
}:

let
  unwrapped = kdeApp {
    name = "okular";
    nativeBuildInputs = [ ecm kdoctools ];
    propagatedBuildInputs = [
      djvulibre ebook_tools kactivities karchive kbookmarks kcompletion kconfig
      kconfigwidgets kcoreaddons kdbusaddons kdegraphics-mobipocket kiconthemes
      kjs khtml kio kparts kpty kwallet kwindowsystem libkexiv2 libspectre poppler
      qca-qt5 qtdeclarative qtsvg threadweaver
    ];
    meta = {
      platforms = lib.platforms.linux;
      homepage = "http://www.kde.org";
      license = with lib.licenses; [ gpl2 lgpl21 fdl12 bsd3 ];
      maintainers = [ lib.maintainers.ttuegel ];
    };
  };
in
kdeWrapper {
  inherit unwrapped;
  targets = [ "bin/okular" ];
}