2021-02-13 14:23:35 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, cairo
|
|
|
|
, glib
|
|
|
|
, libinput
|
|
|
|
, libxml2
|
|
|
|
, pango
|
|
|
|
, wayland
|
|
|
|
, wayland-protocols
|
|
|
|
, wlroots
|
|
|
|
, libxcb
|
|
|
|
, libxkbcommon
|
|
|
|
, xwayland
|
2021-04-08 16:26:57 +00:00
|
|
|
, libdrm
|
|
|
|
, scdoc
|
2021-02-13 14:23:35 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "labwc";
|
2021-08-05 21:33:18 +00:00
|
|
|
version = "0.3.0";
|
2021-02-13 14:23:35 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "johanmalm";
|
|
|
|
repo = pname;
|
2021-08-05 21:33:18 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-v8LGiQG/n1IXeVMPWyiP9MgZzZLW78JftvxnRVTswaM=";
|
2021-02-13 14:23:35 +00:00
|
|
|
};
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
scdoc
|
2021-06-28 23:13:55 +00:00
|
|
|
];
|
2021-02-13 14:23:35 +00:00
|
|
|
buildInputs = [
|
|
|
|
cairo
|
|
|
|
glib
|
2021-08-05 21:33:18 +00:00
|
|
|
libdrm
|
2021-02-13 14:23:35 +00:00
|
|
|
libinput
|
2021-08-05 21:33:18 +00:00
|
|
|
libxcb
|
|
|
|
libxkbcommon
|
2021-02-13 14:23:35 +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;
|
|
|
|
};
|
|
|
|
}
|