1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/window-managers/labwc/default.nix

58 lines
1 KiB
Nix
Raw Normal View History

2021-02-05 13:28:59 +00:00
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, meson
, ninja
, cairo
, glib
, libinput
, libxml2
, pandoc
, pango
, wayland
, wayland-protocols
, wlroots
, libxcb
, libxkbcommon
, xwayland
}:
stdenv.mkDerivation rec {
pname = "labwc";
version = "unstable-2021-01-12";
src = fetchFromGitHub {
owner = "johanmalm";
repo = pname;
rev = "2a7086d9f7367d4a81bce58a6f7fc6614bbfbdb3";
sha256 = "ECwEbWkCjktNNtbLSCflOVlEyxkg4XTfRevq7+qQ2IA=";
};
nativeBuildInputs = [ pkg-config meson ninja pandoc ];
buildInputs = [
cairo
glib
libinput
libxml2
pango
wayland
wayland-protocols
wlroots
libxcb
libxkbcommon
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;
};
}
# TODO: report a SIGSEGV when labwc starts inside a started Wayland window