2021-02-05 14:28:59 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cairo
|
2023-09-23 21:39:14 +02:00
|
|
|
, gettext
|
2021-02-05 14:28:59 +01:00
|
|
|
, glib
|
2022-01-27 23:03:35 +01:00
|
|
|
, libdrm
|
2021-02-05 14:28:59 +01:00
|
|
|
, libinput
|
2023-09-23 21:39:14 +02:00
|
|
|
, libpng
|
|
|
|
, librsvg
|
2022-01-27 23:03:35 +01:00
|
|
|
, libxcb
|
|
|
|
, libxkbcommon
|
2021-02-05 14:28:59 +01:00
|
|
|
, libxml2
|
2022-01-27 23:03:35 +01:00
|
|
|
, meson
|
|
|
|
, ninja
|
2021-02-05 14:28:59 +01:00
|
|
|
, pango
|
2022-01-27 23:03:35 +01:00
|
|
|
, pkg-config
|
|
|
|
, scdoc
|
2021-02-05 14:28:59 +01:00
|
|
|
, wayland
|
|
|
|
, wayland-protocols
|
2023-09-23 21:39:14 +02:00
|
|
|
, wayland-scanner
|
2023-07-27 11:58:19 +02:00
|
|
|
, wlroots
|
2022-12-19 02:18:01 +01:00
|
|
|
, xcbutilwm
|
2021-02-05 14:28:59 +01:00
|
|
|
, xwayland
|
|
|
|
}:
|
|
|
|
|
2023-04-16 22:48:46 +02:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-02-05 14:28:59 +01:00
|
|
|
pname = "labwc";
|
2023-11-26 12:20:13 +01:00
|
|
|
version = "0.6.6";
|
2021-02-05 14:28:59 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2022-01-27 23:03:35 +01:00
|
|
|
owner = "labwc";
|
2022-12-19 02:18:01 +01:00
|
|
|
repo = "labwc";
|
2023-04-16 22:48:46 +02:00
|
|
|
rev = finalAttrs.version;
|
2023-11-26 12:20:13 +01:00
|
|
|
hash = "sha256-ahupqI4mLrgQQjzdfLeQATc2iXQ0V6Sz5f6Yv1koLL0=";
|
2021-02-05 14:28:59 +01:00
|
|
|
};
|
|
|
|
|
2021-08-05 11:55:45 +02:00
|
|
|
nativeBuildInputs = [
|
2023-04-23 13:38:56 +02:00
|
|
|
gettext
|
2021-08-05 11:55:45 +02:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
scdoc
|
2023-04-23 13:38:56 +02:00
|
|
|
wayland-scanner
|
2021-06-23 14:41:18 +02:00
|
|
|
];
|
2022-01-27 23:03:35 +01:00
|
|
|
|
2021-02-05 14:28:59 +01:00
|
|
|
buildInputs = [
|
|
|
|
cairo
|
|
|
|
glib
|
2021-08-05 11:55:45 +02:00
|
|
|
libdrm
|
2021-02-05 14:28:59 +01:00
|
|
|
libinput
|
2023-09-23 21:39:14 +02:00
|
|
|
libpng
|
|
|
|
librsvg
|
2021-08-05 11:55:45 +02:00
|
|
|
libxcb
|
|
|
|
libxkbcommon
|
2021-02-05 14:28:59 +01:00
|
|
|
libxml2
|
|
|
|
pango
|
|
|
|
wayland
|
|
|
|
wayland-protocols
|
|
|
|
wlroots
|
2022-12-19 02:18:01 +01:00
|
|
|
xcbutilwm
|
2021-02-05 14:28:59 +01:00
|
|
|
xwayland
|
|
|
|
];
|
|
|
|
|
2023-09-23 21:39:14 +02:00
|
|
|
outputs = [ "out" "man" ];
|
|
|
|
|
|
|
|
strictDeps = true;
|
|
|
|
|
2022-12-19 02:18:01 +01:00
|
|
|
mesonFlags = [
|
|
|
|
(lib.mesonEnable "xwayland" true)
|
|
|
|
];
|
2021-02-05 14:28:59 +01:00
|
|
|
|
2023-09-23 21:39:14 +02:00
|
|
|
meta = {
|
2022-01-27 23:03:35 +01:00
|
|
|
homepage = "https://github.com/labwc/labwc";
|
2023-09-23 21:39:14 +02:00
|
|
|
description = "A Wayland stacking compositor, inspired by Openbox";
|
2023-04-16 22:48:46 +02:00
|
|
|
changelog = "https://raw.githubusercontent.com/labwc/labwc/${finalAttrs.version}/NEWS.md";
|
2023-09-23 21:39:14 +02:00
|
|
|
license = lib.licenses.gpl2Plus;
|
|
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
2022-03-08 02:23:19 +01:00
|
|
|
inherit (wayland.meta) platforms;
|
2021-02-05 14:28:59 +01:00
|
|
|
};
|
2022-12-19 02:18:01 +01:00
|
|
|
})
|