nixpkgs/pkgs/applications/window-managers/labwc/default.nix
Patrick Hilhorst f7aa41d98c
labwc: unstable-2021-02-06 -> unstable-2021-03-15
Needed for wlroots 0.13.0

Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
2021-04-08 17:24:24 +02:00

59 lines
1,010 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, meson
, ninja
, cairo
, glib
, libinput
, libxml2
, pango
, wayland
, wayland-protocols
, wlroots
, libxcb
, libxkbcommon
, xwayland
, libdrm
, scdoc
}:
stdenv.mkDerivation rec {
pname = "labwc";
version = "unstable-2021-03-15";
src = fetchFromGitHub {
owner = "johanmalm";
repo = pname;
rev = "fddeb74527e5b860d9c1a91a237d390041c758b6";
sha256 = "0rhniv5j4bypqxxj0nbpa3hclmn8znal9rldv0mrgbizn3wsbs54";
};
nativeBuildInputs = [ pkg-config meson ninja scdoc ];
buildInputs = [
cairo
glib
libinput
libxml2
pango
wayland
wayland-protocols
wlroots
libxcb
libxkbcommon
xwayland
libdrm
];
mesonFlags = [ "-Dxwayland=enabled" ];
meta = with lib; {
homepage = "https://github.com/johanmalm/labwc";
description = "Openbox alternative for Wayland";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix;
};
}