13 url = "https://download.fcitx-im.org/data/table.tar.gz";
14 sha256 = "1dw7mgbaidv3vqy0sh8dbfv8631d2zwv5mlb7npf69a1f8y0b5k1";
18 url = "https://download.fcitx-im.org/data/lm_sc.arpa-${arpaVer}.tar.xz";
19 sha256 = "sha256-oRvJfSda2vGV+brIVDaK4GzbSg/h7s9Z21rlgGFdtPo=";
23 url = "https://download.fcitx-im.org/data/dict-${dictVer}.tar.xz";
24 sha256 = "sha256-lxdS9BMYgAfo0ZFYwRuFyVXiXXsyHsInXEs69tioXSY=";
27 stdenv.mkDerivation rec {
31 src = fetchFromGitHub {
35 sha256 = "sha256-O89Op2dxuhGgCxuy2GLI0waCgDreJKNQ5tTvsx/0/fk=";
36 fetchSubmodules = true;
40 ln -s ${table} data/$(stripHash ${table})
41 ln -s ${arpa} data/$(stripHash ${arpa})
42 ln -s ${dict} data/$(stripHash ${dict})
57 description = "A library to support generic input method implementation";
58 homepage = "https://github.com/fcitx/libime";
59 license = licenses.lgpl21Plus;
60 maintainers = with maintainers; [ poscat ];
61 platforms = platforms.linux;