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";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "5.1.2";
|
2023-01-20 10:41:00 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.fcitx-im.org/fcitx5/fcitx5-anthy/${pname}-${version}.tar.xz";
|
2023-11-16 04:20:00 +00:00
|
|
|
sha256 = "sha256-7kKHes8jacDQcOQsngstzTrRoc81ybQoSyrY4s8KPSg=";
|
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;
|
|
|
|
};
|
|
|
|
}
|