mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 12:43:52 +00:00
25 lines
622 B
Nix
25 lines
622 B
Nix
{
|
|
mkDerivation, lib,
|
|
extra-cmake-modules,
|
|
libpthreadstubs, libXdmcp,
|
|
qtbase, qttools, qtx11extras
|
|
}:
|
|
|
|
mkDerivation {
|
|
name = "kwindowsystem";
|
|
meta = {
|
|
maintainers = [ lib.maintainers.ttuegel ];
|
|
broken = lib.versionOlder qtbase.version "5.7.0";
|
|
};
|
|
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" ];
|
|
}
|