summary refs log tree commit diff
path: root/pkgs/applications/misc/lavalauncher/default.nix
blob: 533d3757a6ef63c8a6dfb850720057b8bc9c72d1 (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
48
49
50
51
52
53
54
55
{ lib
, stdenv
, fetchgit
, meson
, ninja
, pkg-config
, scdoc
, cairo
, librsvg
, wayland
, wayland-protocols
}:

stdenv.mkDerivation rec {
  pname = "lavalauncher";
  version = "2.0.0";

  src = fetchgit {
    url = "https://git.sr.ht/~leon_plickat/lavalauncher";
    rev = "v${version}";
    sha256 = "MXREycR4ZetTe71ZwEqyozMJN9OLTDvU0W4J8qkTQAs=";
  };

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

  meta = with lib; {
    homepage = "https://git.sr.ht/~leon_plickat/lavalauncher";
    description = "A simple launcher panel for Wayland desktops";
    longDescription = ''
      LavaLauncher is a simple launcher panel for Wayland desktops.

      It displays a dynamically sized bar with user defined buttons. Buttons
      consist of an image, which is displayed as the button icon on the bar, and
      at least one shell command, which is executed when the user activates the
      button.

      Buttons can be activated with pointer and touch events.

      A single LavaLauncher instance can provide multiple such bars, across
      multiple outputs.

      The Wayland compositor must implement the Layer-Shell and XDG-Output for
      LavaLauncher to work.
    '';
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ AndersonTorres ];
    platforms = with platforms; unix;
  };
}