@@ -0,0 +1,45 @@
1+{ lib
2+, stdenv
3+, fetchFromGitHub
4+, pkg-config
5+, meson
6+, ninja
7+, libxkbcommon
8+, wayland
9+, wayland-protocols
10+, wlroots
11+, pixman
12+, udev
13+, libGL
14+}:
15+
16+stdenv.mkDerivation rec {
17+ pname = "waybox";
18+ version = "unstable-2020-05-01";
19+
20+ src = fetchFromGitHub {
21+ owner = "wizbright";
22+ repo = pname;
23+ rev = "93811898f0eea3035145f593938d49d5af759b46";
24+ sha256 = "IOdKOqAQD87Rs3td8NVEgMnRF6kQSuQ64UVqeVqMBSM=";
25+ };
26+
27+ nativeBuildInputs = [ pkg-config meson ninja ];
28+ buildInputs = [
29+ libxkbcommon
30+ wayland
31+ wayland-protocols
32+ wlroots
33+ pixman
34+ udev
35+ libGL
36+ ];
37+
38+ meta = with lib; {
39+ homepage = "https://github.com/wizbright/waybox";
40+ description = "An openbox clone on Wayland";
41+ license = licenses.mit;
42+ maintainers = with maintainers; [ AndersonTorres ];
43+ platforms = platforms.linux;
44+ };
45+}