Merge pull request #80052 from mmilata/hunspell-dict-cs

hunspellDicts: add Czech and Slovak dictionary
This commit is contained in:
Dmitry Kalinkin 2020-02-14 02:51:35 -05:00 committed by GitHub
commit 8979d2dde5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -272,13 +272,13 @@ let
, sourceRoot ? dictFileName }:
mkDict rec {
name = "hunspell-dict-${shortName}-libreoffice-${version}";
version = "6.2.0.3";
version = "6.3.0.4";
inherit dictFileName readmeFile;
src = fetchFromGitHub {
owner = "LibreOffice";
repo = "dictionaries";
rev = "libreoffice-${version}";
sha256 = "0rw9ahhynia5wsgyd67lrhinqqn1s1rizgiykb3palbyk0lv72xj";
sha256 = "14z4b0grn7cw8l9s7sl6cgapbpwhn1b3gwc3kn6b0k4zl3dq7y63";
};
buildPhase = ''
cp -a ${sourceRoot}/* .
@ -732,4 +732,26 @@ in rec {
shortDescription = "Russian (Russian)";
license = with stdenv.lib.licenses; [ mpl20 lgpl3 ];
};
/* CZECH */
cs_CZ = cs-cz;
cs-cz = mkDictFromLibreOffice {
shortName = "cs-cz";
dictFileName = "cs_CZ";
shortDescription = "Czech (Czechia)";
readmeFile = "README_cs.txt";
license = with stdenv.lib.licenses; [ gpl2 ];
};
/* SLOVAK */
sk_SK = sk-sk;
sk-sk = mkDictFromLibreOffice {
shortName = "sk-sk";
dictFileName = "sk_SK";
shortDescription = "Slovak (Slovakia)";
readmeFile = "README_sk.txt";
license = with stdenv.lib.licenses; [ gpl2 lgpl21 mpl11 ];
};
}