2021-07-03 17:02:23 +02:00
|
|
|
{ lib, stdenv, wlroots, pkg-config, wayland-scanner
|
2021-06-24 13:54:31 +02:00
|
|
|
, libxkbcommon, pixman, udev, wayland, wayland-protocols
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "tinywl";
|
|
|
|
inherit (wlroots) version src;
|
|
|
|
|
|
|
|
sourceRoot = "source/tinywl";
|
|
|
|
|
2021-07-03 17:02:23 +02:00
|
|
|
nativeBuildInputs = [ pkg-config wayland-scanner ];
|
2021-06-24 13:54:31 +02:00
|
|
|
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";
|
2021-07-03 17:02:23 +02:00
|
|
|
description = ''A "minimum viable product" Wayland compositor based on wlroots'';
|
2021-12-28 21:32:26 +01:00
|
|
|
maintainers = with maintainers; [ qyliss ] ++ wlroots.meta.maintainers;
|
2021-06-24 13:54:31 +02:00
|
|
|
license = licenses.cc0;
|
|
|
|
inherit (wlroots.meta) platforms;
|
|
|
|
};
|
|
|
|
}
|