Hunspell support for Central Thai (th-TH)
This commit is contained in:
parent
41513de1fd
commit
30255e685b
1 changed files with 53 additions and 28 deletions
|
@ -266,7 +266,8 @@ let
|
|||
, dictFileName
|
||||
, license
|
||||
, readmeFile ? "README_${dictFileName}.txt"
|
||||
, sourceRoot ? dictFileName }:
|
||||
, sourceRoot ? dictFileName
|
||||
}:
|
||||
mkDict rec {
|
||||
pname = "hunspell-dict-${shortName}-libreoffice";
|
||||
version = "6.3.0.4";
|
||||
|
@ -289,7 +290,8 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
in rec {
|
||||
in
|
||||
rec {
|
||||
|
||||
/* ENGLISH */
|
||||
|
||||
|
@ -821,4 +823,27 @@ in rec {
|
|||
readmeFile = "README_he_IL.txt";
|
||||
license = with lib.licenses; [ agpl3Plus ];
|
||||
};
|
||||
|
||||
/* THAI */
|
||||
|
||||
th_TH = th-th;
|
||||
th-th = mkDict {
|
||||
pname = "hunspell-dict-th-th";
|
||||
version = "experimental-2021-12-20";
|
||||
dictFileName = "th_TH";
|
||||
readmeFile = "README.md";
|
||||
src = fetchFromGitHub {
|
||||
owner = "SyafiqHadzir";
|
||||
repo = "Hunspell-TH";
|
||||
rev = "f119e58e5f6954965d6abd683e7d4c4b9be2684f";
|
||||
sha256 = "sha256-hwqKvuLxbtzxfyQ5YhC/sdb3QQwxCfzgDOHeatxDjxM=";
|
||||
};
|
||||
meta = with lib; {
|
||||
description = "Hunspell dictionary for Central Thai (Thailand)";
|
||||
homepage = "https://github.com/SyafiqHadzir/Hunspell-TH";
|
||||
license = with licenses; [ gpl3 ];
|
||||
maintainers = with maintainers; [ toastal ]; # looking for a native speaker
|
||||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue