23 , withLibunwind ? true, libunwind
43 , defaultFontPath ? ""
47 stdenv.mkDerivation rec {
52 url = "mirror://xorg/individual/xserver/${pname}-${version}.tar.xz";
53 hash = "sha256-HJo2a058ytug+b0xPFnq4S0jvXJUOyKibq+LIINc/G0=";
99 ] ++ lib.optionals withLibunwind [
103 (lib.mesonBool "xwayland_eglstream" true)
104 (lib.mesonBool "xcsecurity" true)
105 (lib.mesonOption "default_font_path" defaultFontPath)
106 (lib.mesonOption "xkb_bin_dir" "${xkbcomp}/bin")
107 (lib.mesonOption "xkb_dir" "${xkeyboard_config}/etc/X11/xkb")
108 (lib.mesonOption "xkb_output_dir" "${placeholder "out"}/share/X11/xkb/compiled")
109 (lib.mesonBool "libunwind" withLibunwind)
112 passthru.updateScript = gitUpdater {
113 # No nicer place to find latest release.
114 url = "https://gitlab.freedesktop.org/xorg/xserver.git";
115 rev-prefix = "xwayland-";
119 description = "An X server for interfacing X11 apps with the Wayland protocol";
120 homepage = "https://wayland.freedesktop.org/xserver.html";
121 license = licenses.mit;
122 mainProgram = "Xwayland";
123 maintainers = with maintainers; [ emantor ];
124 platforms = platforms.linux;