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

25 lines
634 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 ];
broken = builtins.compareVersions qtbase.version "5.7.0" < 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
}