depot/third_party/nixpkgs/pkgs/applications/window-managers/tinywl/default.nix
Default email 634fe97655 Project import generated by Copybara.
GitOrigin-RevId: 09c38c29f2c719cd76ca17a596c2fdac9e186ceb
2021-07-03 00:11:41 -03:00

28 lines
741 B
Nix

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