02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
64 lines
993 B
Nix
64 lines
993 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cairo
|
|
, glib
|
|
, libdrm
|
|
, libinput
|
|
, libxcb
|
|
, libxkbcommon
|
|
, libxml2
|
|
, meson
|
|
, ninja
|
|
, pango
|
|
, pkg-config
|
|
, scdoc
|
|
, wayland
|
|
, wayland-protocols
|
|
, wlroots
|
|
, xwayland
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "labwc";
|
|
version = "0.5.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "labwc";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-YD2bGxa7uss6KRvOGM0kn8dM+277ubaYeOB7ugRZCcY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
scdoc
|
|
];
|
|
|
|
buildInputs = [
|
|
cairo
|
|
glib
|
|
libdrm
|
|
libinput
|
|
libxcb
|
|
libxkbcommon
|
|
libxml2
|
|
pango
|
|
wayland
|
|
wayland-protocols
|
|
wlroots
|
|
xwayland
|
|
];
|
|
|
|
mesonFlags = [ "-Dxwayland=enabled" ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/labwc/labwc";
|
|
description = "A Wayland stacking compositor, similar to Openbox";
|
|
license = licenses.gpl2Plus;
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
inherit (wayland.meta) platforms;
|
|
};
|
|
}
|