nixpkgs/pkgs/tools/inputmethods/fcitx5/fcitx5-anthy.nix
2024-04-25 07:38:26 +08:00

24 lines
712 B
Nix

{ lib, stdenv, fetchurl, cmake, extra-cmake-modules, pkg-config, fcitx5, anthy
, gettext, zstd }:
stdenv.mkDerivation rec {
pname = "fcitx5-anthy";
version = "5.1.4";
src = fetchurl {
url = "https://download.fcitx-im.org/fcitx5/fcitx5-anthy/${pname}-${version}.tar.zst";
hash = "sha256-e0X00plXfRgoSkhTDVJfububin8h+NiGzrnOSIaSa7g=";
};
nativeBuildInputs = [ cmake extra-cmake-modules pkg-config zstd ];
buildInputs = [ fcitx5 anthy gettext ];
meta = with lib; {
description = "Anthy Wrapper for Fcitx5";
homepage = "https://github.com/fcitx/fcitx5-anthy";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ elnudev ];
platforms = platforms.linux;
};
}