nixpkgs/pkgs/applications/window-managers/labwc/default.nix

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

65 lines
993 B
Nix
Raw Normal View History

2021-02-05 13:28:59 +00:00
{ lib
, stdenv
, fetchFromGitHub
, cairo
, glib
, libdrm
2021-02-05 13:28:59 +00:00
, libinput
, 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
2021-02-05 13:28:59 +00:00
, wayland
, wayland-protocols
, wlroots
, xwayland
}:
stdenv.mkDerivation rec {
pname = "labwc";
2022-03-08 01:23:19 +00:00
version = "0.5.0";
2021-02-05 13:28:59 +00:00
src = fetchFromGitHub {
owner = "labwc";
2021-02-05 13:28:59 +00:00
repo = pname;
2021-08-05 09:55:45 +00:00
rev = version;
2022-03-08 01:23:19 +00:00
hash = "sha256-G0EQuXSHftl4JLXKIro+tmhbApwAhlzcjPEL7DP6LHk=";
2021-02-05 13:28:59 +00:00
};
2021-08-05 09:55:45 +00:00
nativeBuildInputs = [
meson
ninja
pkg-config
scdoc
];
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
2021-08-05 09:55:45 +00:00
libxcb
libxkbcommon
2021-02-05 13:28:59 +00:00
libxml2
pango
wayland
wayland-protocols
wlroots
xwayland
];
mesonFlags = [ "-Dxwayland=enabled" ];
meta = with lib; {
homepage = "https://github.com/labwc/labwc";
description = "A Wayland stacking compositor, similar to Openbox";
2021-02-05 13:28:59 +00:00
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
2022-03-08 01:23:19 +00:00
inherit (wayland.meta) platforms;
2021-02-05 13:28:59 +00:00
};
}