Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 mkDerivation,
3 propagateBin,
4 lib,
5 extra-cmake-modules,
6 wayland-scanner,
7 plasma-wayland-protocols,
8 qtbase,
9 wayland,
10 wayland-protocols,
11}:
12
13mkDerivation {
14 pname = "kwayland";
15 nativeBuildInputs = [
16 extra-cmake-modules
17 wayland-scanner
18 ];
19 buildInputs = [
20 plasma-wayland-protocols
21 wayland
22 wayland-protocols
23 ];
24 propagatedBuildInputs = [ qtbase ];
25 setupHook = propagateBin; # XDG_CONFIG_DIRS
26 meta.platforms = lib.platforms.linux ++ lib.platforms.freebsd;
27}