2017-02-28 13:49:25 +00:00
|
|
|
{
|
2017-05-15 17:05:35 +00:00
|
|
|
mkDerivation, lib, copyPathsToStore,
|
2017-02-28 13:49:25 +00:00
|
|
|
extra-cmake-modules,
|
|
|
|
qtbase, qttools, qtx11extras
|
2016-04-21 15:32:21 +00:00
|
|
|
}:
|
|
|
|
|
2017-05-15 17:05:35 +00:00
|
|
|
mkDerivation {
|
2016-04-21 15:32:21 +00:00
|
|
|
name = "kwindowsystem";
|
2017-02-28 13:49:25 +00:00
|
|
|
meta = {
|
|
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
|
|
broken = builtins.compareVersions qtbase.version "5.6.0" < 0;
|
|
|
|
};
|
2017-02-26 12:49:15 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules qttools ];
|
2016-04-28 16:03:50 +00:00
|
|
|
propagatedBuildInputs = [ qtx11extras ];
|
2017-04-18 13:11:17 +00:00
|
|
|
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
|
|
|
preConfigure = ''
|
2017-05-15 11:44:33 +00:00
|
|
|
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QT_PLUGIN_PATH=\"$out/$qtPluginPrefix\""
|
2017-04-18 13:11:17 +00:00
|
|
|
'';
|
2016-04-21 15:32:21 +00:00
|
|
|
}
|