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 = "akvadrako";
|
|
repo = "sommelier";
|
|
rev = "31a42a2f8c649ae82a3239284bced7ef39a569ef";
|
|
sha256 = "sha256-ZTvH4mn7eK2e/1u6FVVpR7aaeAQ+JxSa4nhXWLxSfvo=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|