2024-06-05 15:53:02 +00:00
|
|
|
{ qtModule, qtbase, qtquickcontrols, wayland, wayland-scanner, pkg-config, lib }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
qtModule {
|
2021-05-28 09:39:13 +00:00
|
|
|
pname = "qtwayland";
|
2023-11-16 04:20:00 +00:00
|
|
|
propagatedBuildInputs = [ qtbase qtquickcontrols ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ wayland ];
|
2023-10-09 19:29:22 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wayland-scanner ];
|
2020-04-24 23:36:52 +00:00
|
|
|
outputs = [ "out" "dev" "bin" ];
|
2022-04-27 09:35:20 +00:00
|
|
|
patches = [
|
|
|
|
# NixOS-specific, ensure that app_id is correctly determined for
|
|
|
|
# wrapped executables from `wrapQtAppsHook` (see comment in patch for further
|
2023-04-12 12:48:02 +00:00
|
|
|
# context).
|
2022-04-27 09:35:20 +00:00
|
|
|
./qtwayland-app_id.patch
|
2023-01-20 10:41:00 +00:00
|
|
|
];
|
2024-06-05 15:53:02 +00:00
|
|
|
meta.badPlatforms = lib.platforms.darwin;
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|