1{ lib, stdenv
2, fetchhg
3, pkg-config
4, meson
5, ninja
6, gtk3
7, json_c
8, libpulseaudio
9, wayland
10, wrapGAppsHook
11}:
12
13stdenv.mkDerivation rec {
14 pname = "rootbar";
15 version = "unstable-2020-11-13";
16
17 src = fetchhg {
18 url = "https://hg.sr.ht/~scoopta/rootbar";
19 rev = "a018e10cfc5e";
20 sha256 = "sha256-t6oDIYCVaCxaYy4bS1vxESaFDNxsx5JQLQK77eVuafE=";
21 };
22
23 nativeBuildInputs = [
24 meson ninja pkg-config wrapGAppsHook
25 ];
26
27 buildInputs = [
28 gtk3
29 json_c
30 libpulseaudio
31 wayland
32 ];
33
34 meta = with lib; {
35 homepage = "https://hg.sr.ht/~scoopta/rootbar";
36 description = "A bar for Wayland WMs";
37 longDescription = ''
38 Root Bar is a bar for wlroots based wayland compositors such as sway and
39 was designed to address the lack of good bars for wayland.
40 '';
41 license = licenses.gpl3Plus;
42 maintainers = with maintainers; [ AndersonTorres ];
43 platforms = platforms.unix;
44 };
45}