forked from mirrors/nixpkgs
e1aa8a713b
I am automatically a maintainer of all packages in the set, so there is not reason to mention me explicitly as the maintainer of every individual package.
21 lines
500 B
Nix
21 lines
500 B
Nix
{
|
|
mkDerivation,
|
|
extra-cmake-modules,
|
|
libpthreadstubs, libXdmcp,
|
|
qtbase, qttools, qtx11extras
|
|
}:
|
|
|
|
mkDerivation {
|
|
name = "kwindowsystem";
|
|
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" ];
|
|
}
|