2014-11-20 06:37:19 +00:00
|
|
|
|
2017-02-12 18:18:04 +00:00
|
|
|
{ stdenv, wayland, wayland-protocols, xorgserver, xkbcomp, xkeyboard_config, epoxy, libxslt, libunwind, makeWrapper }:
|
2014-11-20 06:37:19 +00:00
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
overrideDerivation xorgserver (oldAttrs: {
|
|
|
|
|
|
|
|
name = "xwayland-${xorgserver.version}";
|
|
|
|
propagatedNativeBuildInputs = oldAttrs.propagatedNativeBuildInputs
|
2017-02-12 18:18:04 +00:00
|
|
|
++ [wayland wayland-protocols epoxy libxslt makeWrapper libunwind];
|
2014-11-20 06:37:19 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--disable-docs"
|
|
|
|
"--disable-devel-docs"
|
|
|
|
"--enable-xwayland"
|
|
|
|
"--disable-xorg"
|
|
|
|
"--disable-xvfb"
|
|
|
|
"--disable-xnest"
|
|
|
|
"--disable-xquartz"
|
|
|
|
"--disable-xwin"
|
|
|
|
"--with-default-font-path="
|
|
|
|
"--with-xkb-bin-directory=${xkbcomp}/bin"
|
|
|
|
"--with-xkb-path=${xkeyboard_config}/etc/X11/xkb"
|
2015-06-27 10:40:04 +01:00
|
|
|
"--with-xkb-output=$(out)/share/X11/xkb/compiled"
|
2014-11-20 06:37:19 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
rm -fr $out/share/X11/xkb/compiled
|
|
|
|
'';
|
|
|
|
|
|
|
|
}) // {
|
|
|
|
meta = {
|
|
|
|
description = "An X server for interfacing X11 apps with the Wayland protocol";
|
|
|
|
homepage = http://wayland.freedesktop.org/xserver.html;
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
2014-12-25 08:08:10 +00:00
|
|
|
};
|
2014-11-20 06:37:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|