15 url = "https://download.fcitx-im.org/data/table.tar.gz";
16 sha256 = "1dw7mgbaidv3vqy0sh8dbfv8631d2zwv5mlb7npf69a1f8y0b5k1";
20 url = "https://download.fcitx-im.org/data/lm_sc.arpa-${arpaVer}.tar.xz";
21 hash = "sha256-ut1iwWxjc3h6D9qPCc1FLRL2DVhohW9lHO7PGge6ujI=";
25 url = "https://download.fcitx-im.org/data/dict-${dictVer}.tar.xz";
26 hash = "sha256-8F/Mr/loeQCqw9mtWoGyCIi1cyAUA/vNm7x5B9npdQc=";
29 stdenv.mkDerivation rec {
33 src = fetchFromGitHub {
37 sha256 = "sha256-C34hcea0htc9ayytjqy/t08yA2xMC18sAkDc9PK/Hhc=";
38 fetchSubmodules = true;
42 ln -s ${table} data/$(stripHash ${table})
43 ln -s ${arpa} data/$(stripHash ${arpa})
44 ln -s ${dict} data/$(stripHash ${dict})
60 description = "A library to support generic input method implementation";
61 homepage = "https://github.com/fcitx/libime";
62 license = licenses.lgpl21Plus;
63 maintainers = with maintainers; [ poscat ];
64 platforms = platforms.linux;