2017-02-28 13:49:25 +00:00
|
|
|
{
|
2020-08-25 10:43:59 +01:00
|
|
|
mkDerivation, lib,
|
2017-02-28 13:49:25 +00:00
|
|
|
extra-cmake-modules,
|
2017-10-19 09:20:40 +01:00
|
|
|
libpthreadstubs, libXdmcp,
|
2017-02-28 13:49:25 +00:00
|
|
|
qtbase, qttools, qtx11extras
|
2016-04-21 16:32:21 +01:00
|
|
|
}:
|
|
|
|
|
2017-05-15 18:05:35 +01:00
|
|
|
mkDerivation {
|
2016-04-21 16:32:21 +01:00
|
|
|
name = "kwindowsystem";
|
2017-02-28 13:49:25 +00:00
|
|
|
meta = {
|
|
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
2021-02-20 14:19:57 +00:00
|
|
|
broken = lib.versionOlder qtbase.version "5.14.0";
|
2017-02-28 13:49:25 +00:00
|
|
|
};
|
2017-05-22 19:49:07 +01:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
2017-10-19 09:20:40 +01:00
|
|
|
buildInputs = [ libpthreadstubs libXdmcp qttools qtx11extras ];
|
2017-05-22 19:49:07 +01:00
|
|
|
propagatedBuildInputs = [ qtbase ];
|
2020-08-25 10:43:59 +01:00
|
|
|
patches = [
|
2020-12-09 16:23:20 +00:00
|
|
|
./0001-platform-plugins-path.patch
|
2020-08-25 10:43:59 +01:00
|
|
|
];
|
2017-04-18 14:11:17 +01:00
|
|
|
preConfigure = ''
|
2017-05-22 19:49:07 +01:00
|
|
|
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QT_PLUGIN_PATH=\"''${!outputBin}/$qtPluginPrefix\""
|
2017-04-18 14:11:17 +01:00
|
|
|
'';
|
2017-05-23 17:02:49 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
2016-04-21 16:32:21 +01:00
|
|
|
}
|