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