1{
2 qtModule,
3 qtbase,
4 qtquickcontrols,
5 wayland,
6 wayland-scanner,
7 pkg-config,
8 lib,
9}:
10
11qtModule {
12 pname = "qtwayland";
13 propagatedBuildInputs = [
14 qtbase
15 qtquickcontrols
16 ];
17 buildInputs = [ wayland ];
18 nativeBuildInputs = [
19 pkg-config
20 wayland-scanner
21 ];
22 outputs = [
23 "out"
24 "dev"
25 "bin"
26 ];
27 patches = [
28 # NixOS-specific, ensure that app_id is correctly determined for
29 # wrapped executables from `wrapQtAppsHook` (see comment in patch for further
30 # context).
31 ./qtwayland-app_id.patch
32 ];
33 meta.badPlatforms = lib.platforms.darwin;
34}