depot/third_party/nixpkgs/pkgs/applications/misc/tofi/default.nix
Default email c7e6337bd0 Project import generated by Copybara.
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
2023-04-29 12:46:19 -04:00

42 lines
852 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, ninja
, meson
, scdoc
, wayland-protocols
, wayland-scanner
, freetype
, harfbuzz
, cairo
, pango
, wayland
, libxkbcommon
}:
stdenv.mkDerivation rec {
pname = "tofi";
version = "0.9.1";
src = fetchFromGitHub {
owner = "philj56";
repo = pname;
rev = "v${version}";
sha256 = "sha256-lokp6Zmdt7WuAyuRnHBkKD4ydbNiQY7pEVY97Z62U90=";
};
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [
meson ninja pkg-config scdoc wayland-protocols wayland-scanner
];
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;
};
}