mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
new package: xwayland
This commit is contained in:
parent
17cf42d876
commit
9a2b2e7b34
41
pkgs/servers/x11/xorg/xwayland.nix
Normal file
41
pkgs/servers/x11/xorg/xwayland.nix
Normal file
@ -0,0 +1,41 @@
|
||||
|
||||
{ stdenv, wayland, xorgserver, xkbcomp, xkeyboard_config, epoxy, libxslt, libunwind, makeWrapper } :
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
overrideDerivation xorgserver (oldAttrs: {
|
||||
|
||||
name = "xwayland-${xorgserver.version}";
|
||||
propagatedNativeBuildInputs = oldAttrs.propagatedNativeBuildInputs
|
||||
++ [wayland epoxy libxslt makeWrapper libunwind];
|
||||
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"
|
||||
"--with-xkb-output=$out/share/X11/xkb/compiled"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
rm -fr $out/share/X11/xkb/compiled
|
||||
ln -s /var/tmp $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;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
@ -7828,6 +7828,8 @@ let
|
||||
|
||||
xorgVideoUnichrome = callPackage ../servers/x11/xorg/unichrome/default.nix { };
|
||||
|
||||
xwayland = with xorg; callPackage ../servers/x11/xorg/xwayland.nix { };
|
||||
|
||||
yaws = callPackage ../servers/http/yaws { };
|
||||
|
||||
zabbix = recurseIntoAttrs (import ../servers/monitoring/zabbix {
|
||||
|
Loading…
Reference in New Issue
Block a user