2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
|
|
|
, gettext
|
|
|
|
, libime
|
|
|
|
, boost
|
|
|
|
, fcitx5
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fcitx5-table-extra";
|
2022-07-14 12:49:19 +00:00
|
|
|
version = "5.0.11";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fcitx";
|
2021-06-04 09:07:49 +00:00
|
|
|
repo = pname;
|
2021-01-15 22:18:51 +00:00
|
|
|
rev = version;
|
2022-07-14 12:49:19 +00:00
|
|
|
sha256 = "sha256-tn493mSC+bvCgbKV1j+HV0Oh7n1ZufZoOccpK2i0JeY=";
|
2021-01-15 22:18:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
|
|
|
gettext
|
|
|
|
libime
|
|
|
|
boost
|
|
|
|
fcitx5
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|