nixpkgs/pkgs/development/libraries/kde-frameworks/kwindowsystem/default.nix

25 lines
622 B
Nix
Raw Normal View History

2017-02-28 13:49:25 +00:00
{
mkDerivation, lib,
2017-02-28 13:49:25 +00:00
extra-cmake-modules,
libpthreadstubs, libXdmcp,
2017-02-28 13:49:25 +00:00
qtbase, qttools, qtx11extras
2016-04-21 16:32:21 +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 ];
2020-12-09 16:23:40 +00:00
broken = lib.versionOlder qtbase.version "5.7.0";
2017-02-28 13:49:25 +00:00
};
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ libpthreadstubs libXdmcp qttools qtx11extras ];
propagatedBuildInputs = [ qtbase ];
patches = [
./0001-platform-plugins-path.patch
];
preConfigure = ''
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QT_PLUGIN_PATH=\"''${!outputBin}/$qtPluginPrefix\""
'';
outputs = [ "out" "dev" ];
2016-04-21 16:32:21 +01:00
}