5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
81 lines
1.3 KiB
Nix
81 lines
1.3 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cairo
|
|
, gettext
|
|
, glib
|
|
, libdrm
|
|
, libinput
|
|
, libpng
|
|
, librsvg
|
|
, libxcb
|
|
, libxkbcommon
|
|
, libxml2
|
|
, meson
|
|
, ninja
|
|
, pango
|
|
, pkg-config
|
|
, scdoc
|
|
, wayland
|
|
, wayland-protocols
|
|
, wayland-scanner
|
|
, wlroots
|
|
, xcbutilwm
|
|
, xwayland
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "labwc";
|
|
version = "0.6.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "labwc";
|
|
repo = "labwc";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-nQLxE2Q4GiLUjkag/yqctzmkKKWFw1XNFjotE8MMgBA=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gettext
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
scdoc
|
|
wayland-scanner
|
|
];
|
|
|
|
buildInputs = [
|
|
cairo
|
|
glib
|
|
libdrm
|
|
libinput
|
|
libpng
|
|
librsvg
|
|
libxcb
|
|
libxkbcommon
|
|
libxml2
|
|
pango
|
|
wayland
|
|
wayland-protocols
|
|
wlroots
|
|
xcbutilwm
|
|
xwayland
|
|
];
|
|
|
|
outputs = [ "out" "man" ];
|
|
|
|
strictDeps = true;
|
|
|
|
mesonFlags = [
|
|
(lib.mesonEnable "xwayland" true)
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/labwc/labwc";
|
|
description = "A Wayland stacking compositor, inspired by Openbox";
|
|
changelog = "https://raw.githubusercontent.com/labwc/labwc/${finalAttrs.version}/NEWS.md";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = with lib.maintainers; [ AndersonTorres ];
|
|
inherit (wayland.meta) platforms;
|
|
};
|
|
})
|