nixpkgs/pkgs/applications/misc/tofi/default.nix

43 lines
852 B
Nix
Raw Normal View History

2022-09-02 14:34:39 +00:00
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, ninja
, meson
, scdoc
, wayland-protocols
2023-04-23 11:19:42 +00:00
, wayland-scanner
2022-09-02 14:34:39 +00:00
, freetype
, harfbuzz
, cairo
, pango
, wayland
, libxkbcommon
}:
stdenv.mkDerivation rec {
pname = "tofi";
2023-04-25 01:48:36 +00:00
version = "0.9.1";
2022-09-02 14:34:39 +00:00
src = fetchFromGitHub {
owner = "philj56";
repo = pname;
rev = "v${version}";
2023-04-25 01:48:36 +00:00
sha256 = "sha256-lokp6Zmdt7WuAyuRnHBkKD4ydbNiQY7pEVY97Z62U90=";
2022-09-02 14:34:39 +00:00
};
2023-04-23 11:19:42 +00:00
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [
meson ninja pkg-config scdoc wayland-protocols wayland-scanner
];
2022-09-02 14:34:39 +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;
};
}