2021-02-14 06:07:21 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchgit
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, scdoc
|
|
|
|
, cairo
|
|
|
|
, librsvg
|
2021-11-04 22:23:37 +01:00
|
|
|
, libxkbcommon
|
2021-02-14 06:07:21 +01:00
|
|
|
, wayland
|
|
|
|
, wayland-protocols
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "lavalauncher";
|
2021-11-04 22:23:37 +01:00
|
|
|
version = "2.1.1";
|
2021-02-14 06:07:21 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.sr.ht/~leon_plickat/lavalauncher";
|
|
|
|
rev = "v${version}";
|
2021-11-04 22:23:37 +01:00
|
|
|
sha256 = "hobhZ6s9m2xCdAurdj0EF1BeS88j96133zu+2jb1FMM=";
|
2021-02-14 06:07:21 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config scdoc ];
|
|
|
|
buildInputs = [
|
|
|
|
cairo
|
|
|
|
librsvg
|
2021-11-04 22:23:37 +01:00
|
|
|
libxkbcommon
|
2021-02-14 06:07:21 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|