From af34144a8492f1f9065486431ab3f43c8d2fa814 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sun, 14 Feb 2021 02:07:21 -0300 Subject: [PATCH] lavalauncher: init at 2.0.0 --- .../misc/lavalauncher/default.nix | 55 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 + 2 files changed, 57 insertions(+) create mode 100644 pkgs/applications/misc/lavalauncher/default.nix diff --git a/pkgs/applications/misc/lavalauncher/default.nix b/pkgs/applications/misc/lavalauncher/default.nix new file mode 100644 index 00000000000..533d3757a6e --- /dev/null +++ b/pkgs/applications/misc/lavalauncher/default.nix @@ -0,0 +1,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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 86cefd9f946..95df8864f1f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -25364,6 +25364,8 @@ in testssl = callPackage ../applications/networking/testssl { }; + lavalauncher = callPackage ../applications/misc/lavalauncher { }; + ulauncher = callPackage ../applications/misc/ulauncher { }; twinkle = qt5.callPackage ../applications/networking/instant-messengers/twinkle { };