summary refs log tree commit diff
path: root/pkgs/applications/kde
diff options
context:
space:
mode:
authorAdrian Kummerlaender <knairda@t-online.de>2019-02-11 22:40:14 +0100
committerAdrian Kummerlaender <adrian@kummerlaender.eu>2019-02-12 11:42:29 +0100
commit39e4396ea76897143e440a1ecd3b4fedc0320bc2 (patch)
tree0bcff99e852436c73874f870d9cbf569579cd4aa /pkgs/applications/kde
parentb5f3b7db524788400de609e45fc150b941c501f7 (diff)
downloadnixpkgs-39e4396ea76897143e440a1ecd3b4fedc0320bc2.tar
nixpkgs-39e4396ea76897143e440a1ecd3b4fedc0320bc2.tar.gz
nixpkgs-39e4396ea76897143e440a1ecd3b4fedc0320bc2.tar.bz2
nixpkgs-39e4396ea76897143e440a1ecd3b4fedc0320bc2.tar.lz
nixpkgs-39e4396ea76897143e440a1ecd3b4fedc0320bc2.tar.xz
nixpkgs-39e4396ea76897143e440a1ecd3b4fedc0320bc2.tar.zst
nixpkgs-39e4396ea76897143e440a1ecd3b4fedc0320bc2.zip
rocs: init at 18.12.0
Diffstat (limited to 'pkgs/applications/kde')
-rw-r--r--pkgs/applications/kde/default.nix1
-rw-r--r--pkgs/applications/kde/rocs.nix25
2 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/kde/default.nix b/pkgs/applications/kde/default.nix
index 0822e65c7c0..5ca7bbc276e 100644
--- a/pkgs/applications/kde/default.nix
+++ b/pkgs/applications/kde/default.nix
@@ -166,6 +166,7 @@ let
       pim-data-exporter = callPackage ./pim-data-exporter.nix {};
       pim-sieve-editor = callPackage ./pim-sieve-editor.nix {};
       print-manager = callPackage ./print-manager.nix {};
+      rocs = callPackage ./rocs.nix {};
       spectacle = callPackage ./spectacle.nix {};
       # Okteta was removed from kde applications and will now be released independently
       # Lets keep an alias for compatibility reasons
diff --git a/pkgs/applications/kde/rocs.nix b/pkgs/applications/kde/rocs.nix
new file mode 100644
index 00000000000..45bc39fbb1c
--- /dev/null
+++ b/pkgs/applications/kde/rocs.nix
@@ -0,0 +1,25 @@
+{
+  stdenv, mkDerivation, makeWrapper, lib,
+  extra-cmake-modules, boost,
+  qtbase, qtscript, qtquickcontrols, qtwebkit, qtxmlpatterns, grantlee,
+  kdoctools, karchive, kxmlgui, kcrash, kdeclarative, ktexteditor, kguiaddons
+}:
+
+mkDerivation {
+  name = "rocs";
+  nativeBuildInputs = [ extra-cmake-modules makeWrapper kdoctools ];
+  buildInputs = [
+    boost
+    qtbase qtscript qtquickcontrols qtwebkit qtxmlpatterns grantlee
+    kxmlgui kcrash kdeclarative karchive ktexteditor kguiaddons
+  ];
+  postInstall = ''
+    wrapProgram $out/bin/rocs --prefix QT_PLUGIN_PATH ":" "${qtbase.bin}/${qtbase.qtPluginPrefix}:$out/${qtbase.qtPluginPrefix}"
+  '';
+  meta = with lib; {
+    homepage = http://www.kde.org;
+    license = with licenses; [ gpl2 lgpl21 fdl12 ];
+    platforms = lib.platforms.linux;
+    maintainers = with maintainers; [ knairda ];
+  };
+}