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

64 lines
978 B
Nix
Raw Normal View History

2021-02-05 13:28:59 +00:00
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, meson
, ninja
, cairo
, glib
, libinput
, libxml2
, pango
, wayland
, wayland-protocols
, wlroots
, libxcb
, libxkbcommon
, xwayland
, libdrm
, scdoc
2021-02-05 13:28:59 +00:00
}:
stdenv.mkDerivation rec {
pname = "labwc";
2021-08-05 09:55:45 +00:00
version = "0.3.0";
2021-02-05 13:28:59 +00:00
src = fetchFromGitHub {
owner = "johanmalm";
repo = pname;
2021-08-05 09:55:45 +00:00
rev = version;
sha256 = "sha256-v8LGiQG/n1IXeVMPWyiP9MgZzZLW78JftvxnRVTswaM=";
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/johanmalm/labwc";
description = "Openbox alternative for Wayland";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix;
};
}