3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/window-managers/tinywl/default.nix
Michael Weiss f7997354b7
wayland-scanner: use for nativeBuildInputs
This makes things more explicit (and less confusing) but only touches
the packages that I maintain.
2021-07-03 17:56:23 +02:00

29 lines
775 B
Nix

{ lib, stdenv, wlroots, pkg-config, wayland-scanner
, libxkbcommon, pixman, udev, wayland, wayland-protocols
}:
stdenv.mkDerivation {
pname = "tinywl";
inherit (wlroots) version src;
sourceRoot = "source/tinywl";
nativeBuildInputs = [ pkg-config wayland-scanner ];
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";
description = ''A "minimum viable product" Wayland compositor based on wlroots'';
maintainers = with maintainers; [ qyliss ];
license = licenses.cc0;
inherit (wlroots.meta) platforms;
};
}