mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 03:25:36 +00:00
tinywl: inherit wlroots's patches
This commit is contained in:
parent
3e1dba866f
commit
88f84ef1b2
@ -4,25 +4,25 @@
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "tinywl";
|
||||
inherit (wlroots) version src;
|
||||
|
||||
sourceRoot = "${wlroots.src.name}/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 $out/bin
|
||||
cp tinywl/tinywl $out/bin
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/swaywm/wlroots/tree/master/tinywl";
|
||||
meta = {
|
||||
homepage = "https://gitlab.freedesktop.org/wlroots/wlroots/tree/master/tinywl";
|
||||
description = ''A "minimum viable product" Wayland compositor based on wlroots'';
|
||||
maintainers = with maintainers; [ qyliss ] ++ wlroots.meta.maintainers;
|
||||
license = licenses.cc0;
|
||||
maintainers = with lib.maintainers; [ qyliss ] ++ wlroots.meta.maintainers;
|
||||
license = lib.licenses.cc0;
|
||||
inherit (wlroots.meta) platforms;
|
||||
mainProgram = "tinywl";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user