System/packages/sommelier/default.nix

30 lines
966 B
Nix
Raw Normal View History

2023-04-30 22:41:24 -04:00
{ 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;
};
}