about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/window-managers/waybox/default.nix
blob: 007e4dcc568bda7d3eb364e9b0c66df2178fecdc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, meson
, ninja
, libxkbcommon
, wayland
, wayland-protocols
, wlroots
, pixman
, udev
, libGL
, mesa
}:

stdenv.mkDerivation rec {
  pname = "waybox";
  version = "unstable-2020-05-01";

  src = fetchFromGitHub {
    owner = "wizbright";
    repo = pname;
    rev = "93811898f0eea3035145f593938d49d5af759b46";
    sha256 = "IOdKOqAQD87Rs3td8NVEgMnRF6kQSuQ64UVqeVqMBSM=";
  };

  nativeBuildInputs = [ pkg-config meson ninja ];
  buildInputs = [
    libxkbcommon
    wayland
    wayland-protocols
    wlroots
    pixman
    udev
    libGL
    mesa # for libEGL
  ];

  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;
  };
}