summary refs log tree commit diff
path: root/pkgs/applications/kde/okular.nix
blob: 39fb232b34210ff7dff75ecf6ec807ce23e9d129 (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
{
  stdenv, mkDerivation, lib,
  extra-cmake-modules, kdoctools,
  chmlib ? null, discount, djvulibre, ebook_tools, kactivities, karchive, kbookmarks,
  kcompletion, kconfig, kconfigwidgets, kcoreaddons, kdbusaddons,
  kdegraphics-mobipocket, kiconthemes, kjs, khtml, kio, kparts, kpty, kwallet,
  kwindowsystem, libkexiv2, libspectre, libzip, phonon, poppler, qca-qt5,
  qtdeclarative, qtsvg, threadweaver, kcrash
}:

mkDerivation {
  name = "okular";
  nativeBuildInputs = [ extra-cmake-modules kdoctools ];
  buildInputs = [
    discount djvulibre ebook_tools kactivities karchive kbookmarks
    kcompletion kconfig kconfigwidgets kcoreaddons kdbusaddons
    kdegraphics-mobipocket kiconthemes kjs khtml kio kparts kpty kwallet
    kwindowsystem libkexiv2 libspectre libzip phonon poppler qca-qt5
    qtdeclarative qtsvg threadweaver kcrash
  ] ++ lib.optional (!stdenv.isAarch64) chmlib;
  meta = with lib; {
    homepage = http://www.kde.org;
    license = with licenses; [ gpl2 lgpl21 fdl12 bsd3 ];
    maintainers = with maintainers; [ ttuegel ];
    platforms = lib.platforms.linux;
  };
}