2024-05-15 15:35:15 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake, extra-cmake-modules, pkg-config, fcitx5, anthy
|
|
|
|
, gettext, zstd }:
|
2023-01-20 10:41:00 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fcitx5-anthy";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "5.1.4";
|
2023-01-20 10:41:00 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-05-15 15:35:15 +00:00
|
|
|
url = "https://download.fcitx-im.org/fcitx5/fcitx5-anthy/${pname}-${version}.tar.zst";
|
|
|
|
hash = "sha256-e0X00plXfRgoSkhTDVJfububin8h+NiGzrnOSIaSa7g=";
|
2023-01-20 10:41:00 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
nativeBuildInputs = [ cmake extra-cmake-modules pkg-config zstd ];
|
2023-01-20 10:41:00 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|