5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
28 lines
816 B
Nix
28 lines
816 B
Nix
{ lib, stdenv, wlroots, pkg-config, wayland-scanner
|
|
, libxkbcommon, pixman, udev, wayland, wayland-protocols
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "tinywl";
|
|
inherit (wlroots) version src;
|
|
|
|
sourceRoot = "${wlroots.src.name}/tinywl";
|
|
|
|
nativeBuildInputs = [ pkg-config wayland-scanner ];
|
|
buildInputs = [ libxkbcommon pixman udev wayland wayland-protocols wlroots ];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/bin
|
|
cp tinywl $out/bin
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/swaywm/wlroots/tree/master/tinywl";
|
|
description = ''A "minimum viable product" Wayland compositor based on wlroots'';
|
|
maintainers = with maintainers; [ qyliss ] ++ wlroots.meta.maintainers;
|
|
license = licenses.cc0;
|
|
inherit (wlroots.meta) platforms;
|
|
};
|
|
}
|