nixpkgs/pkgs/applications/kde/rocs.nix

26 lines
849 B
Nix
Raw Normal View History

2019-02-11 21:40:14 +00:00
{
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 ];
};
}