2021-02-13 14:23:35 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cairo
|
|
|
|
, glib
|
2022-02-10 20:34:41 +00:00
|
|
|
, libdrm
|
2021-02-13 14:23:35 +00:00
|
|
|
, libinput
|
2022-02-10 20:34:41 +00:00
|
|
|
, libxcb
|
|
|
|
, libxkbcommon
|
2021-02-13 14:23:35 +00:00
|
|
|
, libxml2
|
2022-02-10 20:34:41 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
2021-02-13 14:23:35 +00:00
|
|
|
, pango
|
2022-02-10 20:34:41 +00:00
|
|
|
, pkg-config
|
|
|
|
, scdoc
|
2021-02-13 14:23:35 +00:00
|
|
|
, wayland
|
|
|
|
, wayland-protocols
|
|
|
|
, wlroots
|
|
|
|
, xwayland
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "labwc";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "0.5.3";
|
2021-02-13 14:23:35 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2022-02-10 20:34:41 +00:00
|
|
|
owner = "labwc";
|
2021-02-13 14:23:35 +00:00
|
|
|
repo = pname;
|
2021-08-05 21:33:18 +00:00
|
|
|
rev = version;
|
2022-08-12 12:06:08 +00:00
|
|
|
hash = "sha256-YD2bGxa7uss6KRvOGM0kn8dM+277ubaYeOB7ugRZCcY=";
|
2021-02-13 14:23:35 +00:00
|
|
|
};
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
scdoc
|
2021-06-28 23:13:55 +00:00
|
|
|
];
|
2022-02-10 20:34:41 +00:00
|
|
|
|
2021-02-13 14:23:35 +00:00
|
|
|
buildInputs = [
|
|
|
|
cairo
|
|
|
|
glib
|
2021-08-05 21:33:18 +00:00
|
|
|
libdrm
|
2021-02-13 14:23:35 +00:00
|
|
|
libinput
|
2021-08-05 21:33:18 +00:00
|
|
|
libxcb
|
|
|
|
libxkbcommon
|
2021-02-13 14:23:35 +00:00
|
|
|
libxml2
|
|
|
|
pango
|
|
|
|
wayland
|
|
|
|
wayland-protocols
|
|
|
|
wlroots
|
|
|
|
xwayland
|
|
|
|
];
|
|
|
|
|
|
|
|
mesonFlags = [ "-Dxwayland=enabled" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2022-02-10 20:34:41 +00:00
|
|
|
homepage = "https://github.com/labwc/labwc";
|
|
|
|
description = "A Wayland stacking compositor, similar to Openbox";
|
2021-02-13 14:23:35 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
2022-03-30 09:31:56 +00:00
|
|
|
inherit (wayland.meta) platforms;
|
2021-02-13 14:23:35 +00:00
|
|
|
};
|
|
|
|
}
|