2022-09-14 18:05:37 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, ninja
|
|
|
|
, meson
|
|
|
|
, scdoc
|
|
|
|
, wayland-protocols
|
|
|
|
, freetype
|
|
|
|
, harfbuzz
|
|
|
|
, cairo
|
|
|
|
, pango
|
|
|
|
, wayland
|
|
|
|
, libxkbcommon
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tofi";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "0.8.1";
|
2022-09-14 18:05:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "philj56";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "sha256-HhkXypRGerWWHrR4maR3AtayWSy5qhl/LYwBHWGKboU=";
|
2022-09-14 18:05:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-protocols ];
|
|
|
|
buildInputs = [ freetype harfbuzz cairo pango wayland libxkbcommon ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Tiny dynamic menu for Wayland";
|
|
|
|
homepage = "https://github.com/philj56/tofi";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fbergroth ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
broken = stdenv.isAarch64;
|
|
|
|
};
|
|
|
|
}
|