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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
878 B
Nix
Raw Normal View History

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