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

23 lines
661 B
Nix
Raw Normal View History

2017-02-28 13:49:25 +00:00
{
mkDerivation, lib, copyPathsToStore,
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 = copyPathsToStore (lib.readPathsFromFile ./. ./series);
preConfigure = ''
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QT_PLUGIN_PATH=\"''${!outputBin}/$qtPluginPrefix\""
'';
outputs = [ "out" "dev" ];
2016-04-21 16:32:21 +01:00
}