tinywl: inherit wlroots's patches
This commit is contained in:
parent
3e1dba866f
commit
88f84ef1b2
|
@ -4,25 +4,25 @@
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "tinywl";
|
pname = "tinywl";
|
||||||
inherit (wlroots) version src;
|
inherit (wlroots) version src patches postPatch;
|
||||||
|
|
||||||
sourceRoot = "${wlroots.src.name}/tinywl";
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config wayland-scanner ];
|
nativeBuildInputs = [ pkg-config wayland-scanner ];
|
||||||
buildInputs = [ libxkbcommon pixman udev wayland wayland-protocols wlroots ];
|
buildInputs = [ libxkbcommon pixman udev wayland wayland-protocols wlroots ];
|
||||||
|
|
||||||
|
makeFlags = [ "-C" "tinywl" ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp tinywl $out/bin
|
cp tinywl/tinywl $out/bin
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
homepage = "https://github.com/swaywm/wlroots/tree/master/tinywl";
|
homepage = "https://gitlab.freedesktop.org/wlroots/wlroots/tree/master/tinywl";
|
||||||
description = ''A "minimum viable product" Wayland compositor based on wlroots'';
|
description = ''A "minimum viable product" Wayland compositor based on wlroots'';
|
||||||
maintainers = with maintainers; [ qyliss ] ++ wlroots.meta.maintainers;
|
maintainers = with lib.maintainers; [ qyliss ] ++ wlroots.meta.maintainers;
|
||||||
license = licenses.cc0;
|
license = lib.licenses.cc0;
|
||||||
inherit (wlroots.meta) platforms;
|
inherit (wlroots.meta) platforms;
|
||||||
mainProgram = "tinywl";
|
mainProgram = "tinywl";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user