summary refs log tree commit diff
path: root/pkgs/tools/misc/wob/default.nix
blob: 0c46d4d6d17c5c63608ae844b4dd779b338ac4a0 (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
{ stdenv, fetchFromGitHub
, meson, ninja, pkg-config, wayland # wayland-scanner
, wayland-protocols
}:

stdenv.mkDerivation rec {
  pname = "wob";
  version = "0.4";

  src = fetchFromGitHub {
    owner = "francma";
    repo = pname;
    rev = version;
    fetchSubmodules = true;
    sha256 = "1z0vwss3ix5mf7mqpm4dzlv1bblddfi47ykblj0nmscxn1sinr7j";
  };

  nativeBuildInputs = [ meson ninja pkg-config wayland ];
  buildInputs = [ wayland-protocols ];

  meta = with stdenv.lib; {
    description = "A lightweight overlay bar for Wayland";
    longDescription = ''
      A lightweight overlay volume/backlight/progress/anything bar for Wayland,
      inspired by xob.
    '';
    inherit (src.meta) homepage;
    license = licenses.isc;
    platforms = platforms.unix;
    maintainers = with maintainers; [ primeos ];
  };
}