uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
112
pkgs/servers/x11/xorg/xwayland.nix
Normal file
112
pkgs/servers/x11/xorg/xwayland.nix
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
{ egl-wayland
|
||||
, libepoxy
|
||||
, fetchurl
|
||||
, fontutil
|
||||
, lib
|
||||
, libGL
|
||||
, libGLU
|
||||
, libX11
|
||||
, libXau
|
||||
, libXaw
|
||||
, libXdmcp
|
||||
, libXext
|
||||
, libXfixes
|
||||
, libXfont2
|
||||
, libXmu
|
||||
, libXpm
|
||||
, libXrender
|
||||
, libXres
|
||||
, libXt
|
||||
, libdrm
|
||||
, libtirpc
|
||||
, libunwind
|
||||
, libxcb
|
||||
, libxkbfile
|
||||
, libxshmfence
|
||||
, libxcvt
|
||||
, mesa
|
||||
, meson
|
||||
, ninja
|
||||
, openssl
|
||||
, pkg-config
|
||||
, pixman
|
||||
, stdenv
|
||||
, wayland
|
||||
, wayland-protocols
|
||||
, wayland-scanner
|
||||
, xkbcomp
|
||||
, xkeyboard_config
|
||||
, xorgproto
|
||||
, xtrans
|
||||
, zlib
|
||||
, defaultFontPath ? "" }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
pname = "xwayland";
|
||||
version = "22.1.1";
|
||||
src = fetchurl {
|
||||
url = "mirror://xorg/individual/xserver/${pname}-${version}.tar.xz";
|
||||
sha256 = "sha256-9dDgujfhm7h8YvYdpZcL0gSTnyEgYglkvtTMhJW6plc=";
|
||||
};
|
||||
|
||||
depsBuildBuild = [
|
||||
pkg-config
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
meson
|
||||
ninja
|
||||
wayland-scanner
|
||||
];
|
||||
buildInputs = [
|
||||
egl-wayland
|
||||
libepoxy
|
||||
fontutil
|
||||
libGL
|
||||
libGLU
|
||||
libX11
|
||||
libXau
|
||||
libXaw
|
||||
libXdmcp
|
||||
libXext
|
||||
libXfixes
|
||||
libXfont2
|
||||
libXmu
|
||||
libXpm
|
||||
libXrender
|
||||
libXres
|
||||
libXt
|
||||
libdrm
|
||||
libtirpc
|
||||
libunwind
|
||||
libxcb
|
||||
libxkbfile
|
||||
libxshmfence
|
||||
libxcvt
|
||||
mesa
|
||||
openssl
|
||||
pixman
|
||||
wayland
|
||||
wayland-protocols
|
||||
xkbcomp
|
||||
xorgproto
|
||||
xtrans
|
||||
zlib
|
||||
];
|
||||
mesonFlags = [
|
||||
"-Dxwayland_eglstream=true"
|
||||
"-Ddefault_font_path=${defaultFontPath}"
|
||||
"-Dxkb_bin_dir=${xkbcomp}/bin"
|
||||
"-Dxkb_dir=${xkeyboard_config}/etc/X11/xkb"
|
||||
"-Dxkb_output_dir=${placeholder "out"}/share/X11/xkb/compiled"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An X server for interfacing X11 apps with the Wayland protocol";
|
||||
homepage = "https://wayland.freedesktop.org/xserver.html";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ emantor ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue