2023-04-12 12:48:02 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromSourcehut
|
|
|
|
, fetchpatch
|
|
|
|
, pkg-config
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, cairo
|
|
|
|
, pango
|
|
|
|
, wayland
|
|
|
|
, wayland-protocols
|
|
|
|
, libxkbcommon
|
|
|
|
, scdoc
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "wmenu";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "0.1.6";
|
2023-04-12 12:48:02 +00:00
|
|
|
|
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
src = fetchFromSourcehut {
|
|
|
|
owner = "~adnano";
|
|
|
|
repo = "wmenu";
|
|
|
|
rev = version;
|
2024-02-07 01:22:34 +00:00
|
|
|
hash = "sha256-Xsnf7T39up6E5kzV37sM9j3PpA2eqxItbGt+tOfjsjE=";
|
2023-04-12 12:48:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config meson ninja ];
|
|
|
|
buildInputs = [ cairo pango wayland libxkbcommon wayland-protocols scdoc ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An efficient dynamic menu for Sway and wlroots based Wayland compositors";
|
|
|
|
homepage = "https://git.sr.ht/~adnano/wmenu";
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|
|
|
|
|