1 { lib, stdenv, fetchFromGitHub, pkg-config, xorg, libconfig }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "1x4aafiyd9k4y8cmvn7rgfif3g5s5hhlbj5nz71qsyqg21nn7hrw";
14 nativeBuildInputs = [ pkg-config ];
15 buildInputs = [ xorg.libX11 xorg.libXrender libconfig ];
17 makeFlags = [ "prefix=$(out)" ];
20 description = "A lightweight overlay bar for the X Window System";
22 A lightweight configurable overlay volume/backlight/progress/anything bar
23 for the X Window System (and Wayland compositors with XWayland). Each
24 time a new value is read on the standard input, it is displayed as a
25 tv-like bar over other windows. It then vanishes after a configurable
26 amount of time. A value followed by a bang '!' is displayed using an
27 alternate color to account for special states (e.g. muted audio). There
28 is also support for overflows (when the value exceeds the maximum).
30 inherit (src.meta) homepage;
31 license = licenses.gpl3Plus;
32 platforms = platforms.unix;
33 maintainers = with maintainers; [ florentc ];