1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6 extra-cmake-modules,
7 gettext,
8 libime,
9 boost,
10 fcitx5,
11}:
12
13stdenv.mkDerivation rec {
14 pname = "fcitx5-table-extra";
15 version = "5.1.8";
16
17 src = fetchFromGitHub {
18 owner = "fcitx";
19 repo = pname;
20 rev = version;
21 hash = "sha256-FrVkSDLH6lYQbhvcxtX/IQpRC3dphsHu7xVdgnDNcgg=";
22 };
23
24 nativeBuildInputs = [
25 cmake
26 extra-cmake-modules
27 gettext
28 libime
29 fcitx5
30 ];
31
32 buildInputs = [
33 boost
34 ];
35
36 meta = with lib; {
37 description = "Extra table for Fcitx, including Boshiamy, Zhengma, Cangjie, and Quick";
38 homepage = "https://github.com/fcitx/fcitx5-table-extra";
39 license = licenses.gpl2Only;
40 maintainers = with maintainers; [ poscat ];
41 platforms = platforms.linux;
42 };
43}