depot/third_party/nixpkgs/pkgs/applications/window-managers/labwc/default.nix
Default email fcc03dbfc5 Project import generated by Copybara.
GitOrigin-RevId: ff96a0fa5635770390b184ae74debea75c3fd534
2021-02-13 15:23:35 +01:00

56 lines
984 B
Nix

{ 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-02-06";
src = fetchFromGitHub {
owner = "johanmalm";
repo = pname;
rev = "4a8fcf5c6d0b730b1e2e17e544ce7d7d3c72cd13";
sha256 = "g1ba8dchUN393eis0VAu1bIjQfthDGLaSijSavz4lfU=";
};
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;
};
}