30 lines
966 B
Nix
30 lines
966 B
Nix
|
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, wayland-scanner
|
||
|
, libxkbcommon, mesa, pixman, xorg, wayland, gtest }:
|
||
|
|
||
|
stdenv.mkDerivation {
|
||
|
pname = "sommelier";
|
||
|
version = "104.0";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "niklashhh";
|
||
|
repo = "sommelier";
|
||
|
rev = "a39700971b63284dd4c3e1400be8d753db08119e";
|
||
|
sha256 = "sha256-Xa39QyUuSzw7+rm9va8aj9iHo3d1LqoQxmAAPJ/slqQ=";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [ meson ninja pkg-config wayland-scanner ];
|
||
|
buildInputs = [ libxkbcommon mesa pixman wayland xorg.libxcb ];
|
||
|
|
||
|
doCheck = true;
|
||
|
nativeCheckInputs = [ gtest ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
homepage =
|
||
|
"https://chromium.googlesource.com/chromiumos/platform2/+/refs/heads/main/vm_tools/sommelier/";
|
||
|
description = "Nested Wayland compositor with support for X11 forwarding";
|
||
|
maintainers = with maintainers; [ qyliss ];
|
||
|
license = licenses.bsd3;
|
||
|
platforms = platforms.linux;
|
||
|
};
|
||
|
}
|