depot/third_party/nixpkgs/pkgs/development/libraries/kde-frameworks/kwayland.nix

27 lines
504 B
Nix

{
mkDerivation,
propagateBin,
lib,
extra-cmake-modules,
wayland-scanner,
plasma-wayland-protocols,
qtbase,
wayland,
wayland-protocols,
}:
mkDerivation {
pname = "kwayland";
nativeBuildInputs = [
extra-cmake-modules
wayland-scanner
];
buildInputs = [
plasma-wayland-protocols
wayland
wayland-protocols
];
propagatedBuildInputs = [ qtbase ];
setupHook = propagateBin; # XDG_CONFIG_DIRS
meta.platforms = lib.platforms.linux ++ lib.platforms.freebsd;
}