2022-09-14 18:05:37 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pkg-config
|
|
|
|
, ninja
|
|
|
|
, meson
|
|
|
|
, scdoc
|
|
|
|
, wayland-protocols
|
2023-04-29 16:46:19 +00:00
|
|
|
, wayland-scanner
|
2022-09-14 18:05:37 +00:00
|
|
|
, freetype
|
|
|
|
, harfbuzz
|
|
|
|
, cairo
|
|
|
|
, pango
|
|
|
|
, wayland
|
|
|
|
, libxkbcommon
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tofi";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "0.9.1";
|
2022-09-14 18:05:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "philj56";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-04-29 16:46:19 +00:00
|
|
|
sha256 = "sha256-lokp6Zmdt7WuAyuRnHBkKD4ydbNiQY7pEVY97Z62U90=";
|
2022-09-14 18:05:37 +00:00
|
|
|
};
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
depsBuildBuild = [ pkg-config ];
|
|
|
|
nativeBuildInputs = [
|
2024-09-19 14:19:46 +00:00
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
scdoc
|
|
|
|
wayland-protocols
|
|
|
|
wayland-scanner
|
2023-04-29 16:46:19 +00:00
|
|
|
];
|
2022-09-14 18:05:37 +00:00
|
|
|
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;
|
2023-08-22 20:05:09 +00:00
|
|
|
mainProgram = "tofi";
|
2022-09-14 18:05:37 +00:00
|
|
|
};
|
|
|
|
}
|