15 lines
447 B
Nix
15 lines
447 B
Nix
{ mkDerivation, lib, copyPathsToStore
|
|
, extra-cmake-modules
|
|
, kwayland, libXrandr
|
|
, qtx11extras
|
|
}:
|
|
|
|
mkDerivation {
|
|
name = "libkscreen";
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
propagatedBuildInputs = [ kwayland libXrandr qtx11extras ];
|
|
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
|
preConfigure = ''
|
|
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_LIBKSCREEN_BACKENDS=\"''${!outputLib}/$qtPluginPrefix/kf5/kscreen\""
|
|
'';
|
|
}
|