@@ -0,0 +1,55 @@
1+{ lib
2+, stdenv
3+, fetchgit
4+, meson
5+, ninja
6+, pkg-config
7+, scdoc
8+, cairo
9+, librsvg
10+, wayland
11+, wayland-protocols
12+}:
13+
14+stdenv.mkDerivation rec {
15+ pname = "lavalauncher";
16+ version = "2.0.0";
17+
18+ src = fetchgit {
19+ url = "https://git.sr.ht/~leon_plickat/lavalauncher";
20+ rev = "v${version}";
21+ sha256 = "MXREycR4ZetTe71ZwEqyozMJN9OLTDvU0W4J8qkTQAs=";
22+ };
23+
24+ nativeBuildInputs = [ meson ninja pkg-config scdoc ];
25+ buildInputs = [
26+ cairo
27+ librsvg
28+ wayland
29+ wayland-protocols
30+ ];
31+
32+ meta = with lib; {
33+ homepage = "https://git.sr.ht/~leon_plickat/lavalauncher";
34+ description = "A simple launcher panel for Wayland desktops";
35+ longDescription = ''
36+ LavaLauncher is a simple launcher panel for Wayland desktops.
37+
38+ It displays a dynamically sized bar with user defined buttons. Buttons
39+ consist of an image, which is displayed as the button icon on the bar, and
40+ at least one shell command, which is executed when the user activates the
41+ button.
42+
43+ Buttons can be activated with pointer and touch events.
44+
45+ A single LavaLauncher instance can provide multiple such bars, across
46+ multiple outputs.
47+
48+ The Wayland compositor must implement the Layer-Shell and XDG-Output for
49+ LavaLauncher to work.
50+ '';
51+ license = licenses.gpl3Plus;
52+ maintainers = with maintainers; [ AndersonTorres ];
53+ platforms = with platforms; unix;
54+ };
55+}