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.

87 lines
1.4 KiB
Nix
Raw Normal View History

2021-02-05 13:28:59 +00:00
{ lib
, cairo
2024-03-01 22:42:44 +00:00
, fetchFromGitHub
, gettext
2021-02-05 13:28:59 +00:00
, glib
, libdrm
2021-02-05 13:28:59 +00:00
, libinput
, libpng
, librsvg
, libxcb
, libxkbcommon
2021-02-05 13:28:59 +00:00
, libxml2
, meson
, ninja
2021-02-05 13:28:59 +00:00
, pango
, pkg-config
, scdoc
2024-03-01 22:42:44 +00:00
, stdenv
2021-02-05 13:28:59 +00:00
, wayland
, wayland-protocols
, wayland-scanner
2023-07-27 09:58:19 +00:00
, wlroots
2022-12-19 01:18:01 +00:00
, xcbutilwm
2021-02-05 13:28:59 +00:00
, xwayland
}:
2023-04-16 20:48:46 +00:00
stdenv.mkDerivation (finalAttrs: {
2021-02-05 13:28:59 +00:00
pname = "labwc";
2024-05-11 01:13:10 +00:00
version = "0.7.2";
2021-02-05 13:28:59 +00:00
src = fetchFromGitHub {
owner = "labwc";
2022-12-19 01:18:01 +00:00
repo = "labwc";
2023-04-16 20:48:46 +00:00
rev = finalAttrs.version;
2024-05-11 01:13:10 +00:00
hash = "sha256-8TSBBNg9+W65vEKmwyAWB2yEOpHqV9YRm5+ttL19ke4=";
2021-02-05 13:28:59 +00:00
};
2024-03-01 22:42:44 +00:00
outputs = [ "out" "man" ];
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
2021-08-05 09:55:45 +00:00
libxcb
libxkbcommon
2021-02-05 13:28:59 +00:00
libxml2
pango
wayland
wayland-protocols
wlroots
2022-12-19 01:18:01 +00:00
xcbutilwm
2021-02-05 13:28:59 +00:00
xwayland
];
strictDeps = true;
2022-12-19 01:18:01 +00:00
mesonFlags = [
(lib.mesonEnable "xwayland" true)
];
2021-02-05 13:28:59 +00:00
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";
2024-03-01 22:42:44 +00:00
changelog = "https://github.com/labwc/labwc/blob/${finalAttrs.src.rev}/NEWS.md";
license = with lib.licenses; [ gpl2Plus ];
mainProgram = "labwc";
maintainers = with lib.maintainers; [ AndersonTorres ];
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
})