summary refs log tree commit diff
path: root/pkgs/applications/kde/okular.nix
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2017-02-25 14:34:51 -0600
committerThomas Tuegel <ttuegel@mailbox.org>2017-02-27 11:49:30 -0600
commit8be4bd7416ca977a6b8513957513355f01c397cc (patch)
treee99fc31c6b51c9712d6c307110524ed5808324e2 /pkgs/applications/kde/okular.nix
parente50ba7041126a5a4fbc81192739e36076010beeb (diff)
downloadnixpkgs-8be4bd7416ca977a6b8513957513355f01c397cc.tar
nixpkgs-8be4bd7416ca977a6b8513957513355f01c397cc.tar.gz
nixpkgs-8be4bd7416ca977a6b8513957513355f01c397cc.tar.bz2
nixpkgs-8be4bd7416ca977a6b8513957513355f01c397cc.tar.lz
nixpkgs-8be4bd7416ca977a6b8513957513355f01c397cc.tar.xz
nixpkgs-8be4bd7416ca977a6b8513957513355f01c397cc.tar.zst
nixpkgs-8be4bd7416ca977a6b8513957513355f01c397cc.zip
kdeApplications: Move out of desktops/kde-5
- There is no such thing as KDE 5
Diffstat (limited to 'pkgs/applications/kde/okular.nix')
-rw-r--r--pkgs/applications/kde/okular.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/kde/okular.nix b/pkgs/applications/kde/okular.nix
new file mode 100644
index 00000000000..499e8cc9368
--- /dev/null
+++ b/pkgs/applications/kde/okular.nix
@@ -0,0 +1,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" ];
+}