15 tableVer = "20240108";
17 url = "https://download.fcitx-im.org/data/table-${tableVer}.tar.zst";
18 hash = "sha256-Pp2HsEo5PxMXI0csjqqGDdI8N4o9T2qQBVE7KpWzYUs=";
22 url = "https://download.fcitx-im.org/data/lm_sc.arpa-${arpaVer}.tar.zst";
23 hash = "sha256-VJNOc5Zus46k/o6unGHf5IavN9octTFqBrGcfSieMGM=";
27 url = "https://download.fcitx-im.org/data/dict-${dictVer}.tar.zst";
28 hash = "sha256-0zE7iKaGIKI7yNX5VkzxtniEjcevVBxPXwIZjlo2hr8=";
31 stdenv.mkDerivation rec {
35 src = fetchFromGitHub {
39 hash = "sha256-Ky4ERYQRUiPn+EYrgfmfHxdVp31a1oD4nevDniPOT20=";
40 fetchSubmodules = true;
44 ln -s ${table} data/$(stripHash ${table})
45 ln -s ${arpa} data/$(stripHash ${arpa})
46 ln -s ${dict} data/$(stripHash ${dict})
62 description = "Library to support generic input method implementation";
63 homepage = "https://github.com/fcitx/libime";
64 license = licenses.lgpl21Plus;
65 maintainers = with maintainers; [ poscat ];
66 platforms = platforms.linux;