Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

98 lines
1.5 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
cairo,
fetchFromGitHub,
gettext,
glib,
libdrm,
libinput,
libpng,
librsvg,
libsfdo,
libxcb,
libxkbcommon,
libxml2,
meson,
ninja,
pango,
pkg-config,
scdoc,
stdenv,
versionCheckHook,
wayland,
wayland-protocols,
wayland-scanner,
wlroots_0_19,
xcbutilwm,
xwayland,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "labwc";
version = "0.9.1";
src = fetchFromGitHub {
owner = "labwc";
repo = "labwc";
tag = finalAttrs.version;
hash = "sha256-8SKSITFwbagJhuTXVHpPmQoaooktIXc1CeO9ZOUuh1w=";
};
outputs = [
"out"
"doc"
"man"
];
nativeBuildInputs = [
gettext
meson
ninja
pkg-config
scdoc
wayland-scanner
];
buildInputs = [
cairo
glib
libdrm
libinput
libpng
librsvg
libsfdo
libxcb
libxkbcommon
libxml2
pango
wayland
wayland-protocols
wlroots_0_19
xcbutilwm
xwayland
];
nativeInstallCheckInputs = [ versionCheckHook ];
mesonFlags = [ (lib.mesonEnable "xwayland" true) ];
strictDeps = true;
doInstallCheck = true;
versionCheckProgramArg = "--version";
passthru = {
providedSessions = [ "labwc" ];
};
meta = {
homepage = "https://github.com/labwc/labwc";
description = "Wayland stacking compositor, inspired by Openbox";
changelog = "https://github.com/labwc/labwc/blob/master/NEWS.md";
license = with lib.licenses; [ gpl2Plus ];
mainProgram = "labwc";
maintainers = [ ];
inherit (wayland.meta) platforms;
};
})