2021-01-15 09:19:50 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
2020-12-14 00:01:03 +00:00
|
|
|
fetchFromGitHub,
|
|
|
|
cmake,
|
|
|
|
extra-cmake-modules,
|
|
|
|
gettext,
|
|
|
|
libime,
|
|
|
|
boost,
|
|
|
|
fcitx5,
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fcitx5-table-extra";
|
2024-06-01 12:06:50 +00:00
|
|
|
version = "5.1.6";
|
2020-12-14 00:01:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fcitx";
|
2021-06-02 12:44:35 +00:00
|
|
|
repo = pname;
|
2020-12-14 00:01:03 +00:00
|
|
|
rev = version;
|
2024-06-01 12:06:50 +00:00
|
|
|
hash = "sha256-no8TDbK88SnuLAz72QK2q2XM5bLdkGd8lkWFwreajO8=";
|
2020-12-14 00:01:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
|
|
|
gettext
|
|
|
|
libime
|
|
|
|
boost
|
|
|
|
fcitx5
|
|
|
|
];
|
|
|
|
|
2021-01-15 09:19:50 +00:00
|
|
|
meta = with lib; {
|
2020-12-14 00:01:03 +00:00
|
|
|
description = "Extra table for Fcitx, including Boshiamy, Zhengma, Cangjie, and Quick";
|
|
|
|
homepage = "https://github.com/fcitx/fcitx5-table-extra";
|
|
|
|
license = licenses.gpl2Only;
|
|
|
|
maintainers = with maintainers; [ poscat ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|