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.

82 lines
1.3 KiB
Nix
Raw Normal View History

2021-02-05 14:28:59 +01:00
{ lib
, stdenv
, fetchFromGitHub
, cairo
, gettext
2021-02-05 14:28:59 +01:00
, glib
, libdrm
2021-02-05 14:28:59 +01:00
, libinput
, libpng
, librsvg
, libxcb
, libxkbcommon
2021-02-05 14:28:59 +01:00
, libxml2
, meson
, ninja
2021-02-05 14:28:59 +01:00
, pango
, pkg-config
, scdoc
2021-02-05 14:28:59 +01:00
, wayland
, wayland-protocols
, 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 {
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-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
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
];
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
meta = {
homepage = "https://github.com/labwc/labwc";
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";
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
})