2021-01-15 10:19:50 +01:00
|
|
|
{ lib, stdenv
|
2020-12-14 01:01:03 +01:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, extra-cmake-modules
|
|
|
|
, gettext
|
|
|
|
, libime
|
|
|
|
, boost
|
|
|
|
, fcitx5
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fcitx5-table-extra";
|
2021-01-16 04:16:36 +01:00
|
|
|
version = "5.0.2";
|
2020-12-14 01:01:03 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fcitx";
|
|
|
|
repo = "fcitx5-table-extra";
|
|
|
|
rev = version;
|
2021-01-16 04:16:36 +01:00
|
|
|
sha256 = "sha256-Bqxdi/rjiTKqHLvVFVcQMjz/I0xxTiBgUIRkZjLuK+M=";
|
2020-12-14 01:01:03 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
extra-cmake-modules
|
|
|
|
gettext
|
|
|
|
libime
|
|
|
|
boost
|
|
|
|
fcitx5
|
|
|
|
];
|
|
|
|
|
2021-01-15 10:19:50 +01:00
|
|
|
meta = with lib; {
|
2020-12-14 01:01:03 +01: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;
|
|
|
|
};
|
|
|
|
}
|