blob: d39373e781929baa56b9f667a09a8c777eee8f41 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ lib, stdenv, wlroots, pkg-config, wayland-scanner
, libxkbcommon, pixman, udev, wayland, wayland-protocols
}:
stdenv.mkDerivation {
pname = "tinywl";
inherit (wlroots) version src patches postPatch;
nativeBuildInputs = [ pkg-config wayland-scanner ];
buildInputs = [ libxkbcommon pixman udev wayland wayland-protocols wlroots ];
makeFlags = [ "-C" "tinywl" ];
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp tinywl/tinywl $out/bin
runHook postInstall
'';
meta = {
homepage = "https://gitlab.freedesktop.org/wlroots/wlroots/tree/master/tinywl";
description = ''A "minimum viable product" Wayland compositor based on wlroots'';
maintainers = with lib.maintainers; [ qyliss ] ++ wlroots.meta.maintainers;
license = lib.licenses.cc0;
inherit (wlroots.meta) platforms;
mainProgram = "tinywl";
};
}
|