summary refs log blame commit diff
path: root/pkgs/applications/kde/okular.nix
blob: 3bed7454f42f136d3543ee33311db573a33dca34 (plain) (tree)
1
2
3
4
5
6
7
8
9
 
                                
                                 



                                                                                

  
   
                            
                    
                                                          
                             










                                                                                  
    
  

                    
                             
 
{
  mkDerivation, lib, kdeWrapper,
  extra-cmake-modules, 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 = mkDerivation {
    name = "okular";
    nativeBuildInputs = [ extra-cmake-modules 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" ];
}