2023-04-12 12:48:02 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2024-07-27 06:49:29 +00:00
|
|
|
, fetchFromGitea
|
2023-04-12 12:48:02 +00:00
|
|
|
, pkg-config
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, cairo
|
|
|
|
, pango
|
|
|
|
, wayland
|
|
|
|
, wayland-protocols
|
2024-05-15 15:35:15 +00:00
|
|
|
, wayland-scanner
|
2023-04-12 12:48:02 +00:00
|
|
|
, libxkbcommon
|
|
|
|
, scdoc
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wmenu";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "0.1.9";
|
2023-04-12 12:48:02 +00:00
|
|
|
|
|
|
|
strictDeps = true;
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
src = fetchFromGitea {
|
|
|
|
domain = "codeberg.org";
|
|
|
|
owner = "adnano";
|
2023-04-12 12:48:02 +00:00
|
|
|
repo = "wmenu";
|
|
|
|
rev = version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-TF5BvgThvTOqxyfz5Zt/Z1cqjFJwvla+dgdyvz7Zhrg=";
|
2023-04-12 12:48:02 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
nativeBuildInputs = [ pkg-config meson ninja wayland-scanner ];
|
2023-04-12 12:48:02 +00:00
|
|
|
buildInputs = [ cairo pango wayland libxkbcommon wayland-protocols scdoc ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Efficient dynamic menu for Sway and wlroots based Wayland compositors";
|
2024-07-27 06:49:29 +00:00
|
|
|
homepage = "https://codeberg.org/adnano/wmenu";
|
2023-04-12 12:48:02 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ eken ];
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "wmenu";
|
2023-04-12 12:48:02 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|