mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
Merge pull request #36324 from peterhoeg/f/okular
okular: add support for CHM, ZIP and markdown files
This commit is contained in:
commit
341dd2a9ad
|
@ -1,25 +1,27 @@
|
|||
{
|
||||
mkDerivation, lib,
|
||||
stdenv, mkDerivation, lib,
|
||||
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, phonon, poppler, qca-qt5, qtdeclarative, qtsvg, threadweaver
|
||||
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 = [
|
||||
djvulibre ebook_tools kactivities karchive kbookmarks kcompletion kconfig kconfigwidgets
|
||||
kcoreaddons kdbusaddons kdegraphics-mobipocket kiconthemes kjs khtml kio
|
||||
kparts kpty kwallet kwindowsystem libkexiv2 libspectre phonon poppler
|
||||
qca-qt5 qtdeclarative qtsvg threadweaver
|
||||
];
|
||||
meta = {
|
||||
platforms = lib.platforms.linux;
|
||||
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 lib.licenses; [ gpl2 lgpl21 fdl12 bsd3 ];
|
||||
maintainers = [ lib.maintainers.ttuegel ];
|
||||
license = with licenses; [ gpl2 lgpl21 fdl12 bsd3 ];
|
||||
maintainers = with maintainers; [ ttuegel ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue