20 pyStrokeVer = "20121124";
22 url = "http://download.fcitx-im.org/data/py_stroke-${pyStrokeVer}.tar.gz";
23 sha256 = "0j72ckmza5d671n2zg0psg7z9iils4gyxz7jgkk54fd4pyljiccf";
25 pyTableVer = "20121124";
27 url = "http://download.fcitx-im.org/data/py_table-${pyTableVer}.tar.gz";
28 sha256 = "011cg7wssssm6hm564cwkrrnck2zj5rxi7p9z5akvhg6gp4nl522";
33 pname = "fcitx5-chinese-addons";
36 src = fetchFromGitHub {
38 repo = "fcitx5-chinese-addons";
40 sha256 = "sha256-kCihpRUtUXrqqf7FPQp8ZRexiygOuDVOdQwVx7tSn+c=";
55 ln -s ${pyStroke} modules/pinyinhelper/$(stripHash ${pyStroke})
56 ln -s ${pyTable} modules/pinyinhelper/$(stripHash ${pyTable})
67 ] ++ lib.optional luaSupport fcitx5-lua;
70 description = "Addons related to Chinese, including IME previous bundled inside fcitx4";
71 homepage = "https://github.com/fcitx/fcitx5-chinese-addons";
72 license = with licenses; [ gpl2Plus lgpl21Plus ];
73 maintainers = with maintainers; [ poscat ];
74 platforms = platforms.linux;