12 modelData = fetchurl {
13 url = "mirror://sourceforge/libpinyin/models/model19.text.tar.gz";
14 sha256 = "02zml6m8sj5q97ibpvaj9s9yz3gfj0jnjrfhkn02qv4nwm72lhjn";
17 stdenv.mkDerivation rec {
21 src = fetchFromGitHub {
25 hash = "sha256-3+CBbjCaY0Ubyphf0uCfYvF2rtc9fF1eEAM1doonjHg=";
29 tar -xzf ${modelData} -C $sourceRoot/data
45 description = "Library for intelligent sentence-based Chinese pinyin input method";
46 homepage = "https://github.com/libpinyin/libpinyin";
47 license = licenses.gpl3Plus;
48 maintainers = with maintainers; [ linsui ericsagnes ];
49 platforms = platforms.linux;