nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 stdenv,
3 lib,
4 fetchFromGitLab,
5 replaceVars,
6 meson,
7 pkg-config,
8 ninja,
9 qtbase,
10 qtwayland,
11 wayland,
12}:
13
14stdenv.mkDerivation (finalAttrs: {
15 pname = "wayqt";
16 version = "0.3.0-unstable-2026-01-05";
17
18 src = fetchFromGitLab {
19 owner = "desktop-frameworks";
20 repo = "wayqt";
21 rev = "2750cd93a3110bff6345f9e2a1a3090a3e3f7203";
22 hash = "sha256-WGIZ3OgeGkQWEzc/m0/Moo9Qgr3vg4dFfQhba2vx0do=";
23 };
24
25 nativeBuildInputs = [
26 meson
27 pkg-config
28 ninja
29 ];
30
31 buildInputs = [
32 qtbase
33 qtwayland
34 wayland
35 ];
36
37 dontWrapQtApps = true;
38
39 outputs = [
40 "out"
41 "dev"
42 ];
43
44 meta = {
45 homepage = "https://gitlab.com/desktop-frameworks/wayqt";
46 description = "Qt-based library to handle Wayland and Wlroots protocols to be used with any Qt project";
47 maintainers = with lib.maintainers; [ wineee ];
48 platforms = lib.platforms.linux;
49 license = lib.licenses.mit;
50 };
51})