52 stdenv.mkDerivation rec {
57 url = "mirror://xorg/individual/xserver/${pname}-${version}.tar.xz";
58 hash = "sha256-2Wp426uBn1V1AXNERESZW1Ax69zBW3ev672NvAKvNPQ=";
62 substituteInPlace os/utils.c \
63 --replace-fail '/bin/sh' '${lib.getExe' bash "sh"}'
113 ++ lib.optionals withLibunwind [
117 (lib.mesonBool "xcsecurity" true)
118 (lib.mesonOption "default_font_path" defaultFontPath)
119 (lib.mesonOption "xkb_bin_dir" "${xkbcomp}/bin")
120 (lib.mesonOption "xkb_dir" "${xkeyboard_config}/etc/X11/xkb")
121 (lib.mesonOption "xkb_output_dir" "${placeholder "out"}/share/X11/xkb/compiled")
122 (lib.mesonBool "libunwind" withLibunwind)
125 passthru.updateScript = gitUpdater {
126 # No nicer place to find latest release.
127 url = "https://gitlab.freedesktop.org/xorg/xserver.git";
128 rev-prefix = "xwayland-";
132 description = "X server for interfacing X11 apps with the Wayland protocol";
133 homepage = "https://wayland.freedesktop.org/xserver.html";
134 license = licenses.mit;
135 mainProgram = "Xwayland";
136 maintainers = with maintainers; [
140 platforms = platforms.linux;