Files
nixpkgs/pkgs/tools/inputmethods/fcitx5/fcitx5-anthy.nix
2025-10-26 01:52:17 +00:00

43 lines
773 B
Nix

{
lib,
stdenv,
fetchurl,
cmake,
extra-cmake-modules,
pkg-config,
fcitx5,
anthy,
gettext,
zstd,
}:
stdenv.mkDerivation rec {
pname = "fcitx5-anthy";
version = "5.1.8";
src = fetchurl {
url = "https://download.fcitx-im.org/fcitx5/fcitx5-anthy/${pname}-${version}.tar.zst";
hash = "sha256-O/fpLWh5eE22lZEz4cyI60Xf/rTWpTCWjAib3y0Yac8=";
};
nativeBuildInputs = [
cmake
extra-cmake-modules
gettext # msgfmt
pkg-config
zstd
];
buildInputs = [
fcitx5
anthy
];
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;
};
}