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
|
2021-03-16 19:41:51 +00:00
|
|
|
, libdrm
|
|
|
|
, scdoc
|
2021-02-05 13:28:59 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "labwc";
|
2021-03-16 19:41:51 +00:00
|
|
|
version = "unstable-2021-03-15";
|
2021-02-05 13:28:59 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "johanmalm";
|
|
|
|
repo = pname;
|
2021-03-16 19:41:51 +00:00
|
|
|
rev = "fddeb74527e5b860d9c1a91a237d390041c758b6";
|
|
|
|
sha256 = "0rhniv5j4bypqxxj0nbpa3hclmn8znal9rldv0mrgbizn3wsbs54";
|
2021-02-05 13:28:59 +00:00
|
|
|
};
|
|
|
|
|
2021-03-16 19:41:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config meson ninja scdoc ];
|
2021-02-05 13:28:59 +00:00
|
|
|
buildInputs = [
|
|
|
|
cairo
|
|
|
|
glib
|
|
|
|
libinput
|
|
|
|
libxml2
|
|
|
|
pango
|
|
|
|
wayland
|
|
|
|
wayland-protocols
|
|
|
|
wlroots
|
|
|
|
libxcb
|
|
|
|
libxkbcommon
|
|
|
|
xwayland
|
2021-03-16 19:41:51 +00:00
|
|
|
libdrm
|
2021-02-05 13:28:59 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|