System/packages/sommelier/default.nix

30 lines
918 B
Nix
Raw Normal View History

2023-05-07 02:16:39 -04:00
{ lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, wayland-scanner
, libxkbcommon, mesa, pixman, xorg, wayland, gtest }:
2023-04-30 22:41:24 -04:00
2023-05-07 02:16:39 -04:00
stdenv.mkDerivation {
pname = "sommelier";
version = "104.0";
2023-04-30 22:41:24 -04:00
2023-05-07 02:16:39 -04:00
src = fetchFromGitHub {
owner = "akvadrako";
repo = "sommelier";
rev = "31a42a2f8c649ae82a3239284bced7ef39a569ef";
sha256 = "sha256-ZTvH4mn7eK2e/1u6FVVpR7aaeAQ+JxSa4nhXWLxSfvo=";
};
2023-04-30 22:41:24 -04:00
2023-05-07 02:16:39 -04:00
nativeBuildInputs = [ meson ninja pkg-config wayland-scanner ];
buildInputs = [ libxkbcommon mesa pixman wayland xorg.libxcb ];
2023-04-30 22:41:24 -04:00
2023-05-07 02:16:39 -04:00
doCheck = true;
nativeCheckInputs = [ gtest ];
2023-04-30 22:41:24 -04:00
2023-05-07 02:16:39 -04:00
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;
};
}