nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 gcc14Stdenv,
4 fetchhg,
5 pkg-config,
6 meson,
7 ninja,
8 gtk3,
9 json_c,
10 libpulseaudio,
11 wayland,
12 wrapGAppsHook3,
13}:
14
15gcc14Stdenv.mkDerivation {
16 pname = "rootbar";
17 version = "unstable-2024-08-07";
18
19 src = fetchhg {
20 url = "https://hg.sr.ht/~scoopta/rootbar";
21 rev = "36333af9fd8d";
22 sha256 = "sha256-CpORCSJyHZhcK14EhjxoPt/h0026NU5J/kicL1dX96o=";
23 };
24
25 nativeBuildInputs = [
26 meson
27 ninja
28 pkg-config
29 wrapGAppsHook3
30 ];
31
32 buildInputs = [
33 gtk3
34 json_c
35 libpulseaudio
36 wayland
37 ];
38
39 meta = {
40 homepage = "https://hg.sr.ht/~scoopta/rootbar";
41 description = "Bar for wlroots-based Wayland compositors";
42 mainProgram = "rootbar";
43 longDescription = ''
44 Root Bar is a bar for wlroots-based Wayland compositors such as Sway and
45 was designed to address the lack of good bars for Wayland.
46 '';
47 license = lib.licenses.gpl3Plus;
48 maintainers = [ ];
49 platforms = lib.platforms.unix;
50 broken = gcc14Stdenv.hostPlatform.isDarwin;
51 };
52}