nixpkgs/pkgs/by-name/la/labwc/package.nix

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

98 lines
1.5 KiB
Nix
Raw Normal View History

2024-08-20 00:32:51 +00:00
{
lib,
cairo,
fetchFromGitHub,
gettext,
glib,
libdrm,
libinput,
libpng,
librsvg,
libsfdo,
2024-08-20 00:32:51 +00:00
libxcb,
libxkbcommon,
libxml2,
meson,
ninja,
pango,
pkg-config,
scdoc,
stdenv,
versionCheckHook,
2024-08-20 00:32:51 +00:00
wayland,
wayland-protocols,
wayland-scanner,
wlroots_0_18,
xcbutilwm,
xwayland,
2021-02-05 13:28:59 +00:00
}:
2023-04-16 20:48:46 +00:00
stdenv.mkDerivation (finalAttrs: {
2021-02-05 13:28:59 +00:00
pname = "labwc";
version = "0.8.1";
2021-02-05 13:28:59 +00:00
src = fetchFromGitHub {
owner = "labwc";
2022-12-19 01:18:01 +00:00
repo = "labwc";
2024-08-20 00:32:51 +00:00
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-TXxdjMkzZQoCqkZBqus5eCBEhA/nvxNNXaNHUTGFQDQ=";
2021-02-05 13:28:59 +00:00
};
2024-08-20 00:32:51 +00:00
outputs = [
"out"
"doc"
"man"
];
2024-03-01 22:42:44 +00:00
2021-08-05 09:55:45 +00:00
nativeBuildInputs = [
2023-04-23 11:38:56 +00:00
gettext
2021-08-05 09:55:45 +00:00
meson
ninja
pkg-config
scdoc
2023-04-23 11:38:56 +00:00
wayland-scanner
];
2021-02-05 13:28:59 +00:00
buildInputs = [
cairo
glib
2021-08-05 09:55:45 +00:00
libdrm
2021-02-05 13:28:59 +00:00
libinput
libpng
librsvg
libsfdo
2021-08-05 09:55:45 +00:00
libxcb
libxkbcommon
2021-02-05 13:28:59 +00:00
libxml2
pango
wayland
wayland-protocols
2024-08-20 00:32:51 +00:00
wlroots_0_18
2022-12-19 01:18:01 +00:00
xcbutilwm
2021-02-05 13:28:59 +00:00
xwayland
];
nativeInstallCheckInputs = [ versionCheckHook ];
2024-08-20 00:32:51 +00:00
mesonFlags = [ (lib.mesonEnable "xwayland" true) ];
2024-08-20 00:32:51 +00:00
strictDeps = true;
2021-02-05 13:28:59 +00:00
doInstallCheck = true;
versionCheckProgramArg = "--version";
2024-01-05 13:58:00 +00:00
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";
2024-03-01 22:42:44 +00:00
license = with lib.licenses; [ gpl2Plus ];
mainProgram = "labwc";
2024-11-03 18:37:54 +00:00
maintainers = with lib.maintainers; [ ];
2022-03-08 01:23:19 +00:00
inherit (wayland.meta) platforms;
2021-02-05 13:28:59 +00:00
};
2022-12-19 01:18:01 +00:00
})