2021-02-01 21:58:44 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, libxkbcommon
|
|
|
|
, wayland
|
|
|
|
, wayland-protocols
|
|
|
|
, wlroots
|
|
|
|
, pixman
|
|
|
|
, udev
|
|
|
|
, libGL
|
2021-04-09 09:57:00 +01:00
|
|
|
, mesa
|
2021-02-01 21:58:44 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "waybox";
|
2021-05-14 17:58:10 +01:00
|
|
|
version = "unstable-2021-04-07";
|
2021-02-01 21:58:44 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wizbright";
|
|
|
|
repo = pname;
|
2021-05-14 17:58:10 +01:00
|
|
|
rev = "309ccd2faf08079e698104b19eff32b3a255b947";
|
2021-05-17 11:10:40 +01:00
|
|
|
hash = "sha256-G32cGmOwmnuVlj1hCq9NRti6plJbkAktfzM4aYzQ+k8=";
|
2021-02-01 21:58:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config meson ninja ];
|
|
|
|
buildInputs = [
|
|
|
|
libxkbcommon
|
|
|
|
wayland
|
|
|
|
wayland-protocols
|
|
|
|
wlroots
|
|
|
|
pixman
|
|
|
|
udev
|
|
|
|
libGL
|
2021-04-09 09:57:00 +01:00
|
|
|
mesa # for libEGL
|
2021-02-01 21:58:44 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/wizbright/waybox";
|
|
|
|
description = "An openbox clone on Wayland";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ AndersonTorres ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|