mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
27 lines
1.1 KiB
Nix
27 lines
1.1 KiB
Nix
{
|
|
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
|
|
}:
|
|
|
|
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
|
|
] ++ 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;
|
|
};
|
|
}
|