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