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