2023-01-20 10:41:00 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake, extra-cmake-modules, pkg-config, fcitx5, anthy, gettext }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fcitx5-anthy";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "5.1.3";
|
2023-01-20 10:41:00 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.fcitx-im.org/fcitx5/fcitx5-anthy/${pname}-${version}.tar.xz";
|
2024-01-13 08:15:51 +00:00
|
|
|
sha256 = "sha256-pOJYe5+/11j8YmuJDyAbFPFsnUa9DQqbYirSwD992zY=";
|
2023-01-20 10:41:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules pkg-config ];
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|