From 873a6650bbe68cf5f781fb32c1e77ca7fc9868e9 Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Thu, 13 Feb 2020 21:02:24 +0100 Subject: [PATCH 1/2] hunspellDicts: libreoffice: 6.2.0.3 -> 6.3.0.4 --- pkgs/development/libraries/hunspell/dictionaries.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/hunspell/dictionaries.nix b/pkgs/development/libraries/hunspell/dictionaries.nix index fb64aa81d1a..386a18f641f 100644 --- a/pkgs/development/libraries/hunspell/dictionaries.nix +++ b/pkgs/development/libraries/hunspell/dictionaries.nix @@ -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}/* . From af5c8e7a2aad2ef9f940270d25141ddd498ce516 Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Thu, 13 Feb 2020 21:03:35 +0100 Subject: [PATCH 2/2] hunspellDicts: add Czech and Slovak dictionary --- .../libraries/hunspell/dictionaries.nix | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/pkgs/development/libraries/hunspell/dictionaries.nix b/pkgs/development/libraries/hunspell/dictionaries.nix index 386a18f641f..9ec79f51443 100644 --- a/pkgs/development/libraries/hunspell/dictionaries.nix +++ b/pkgs/development/libraries/hunspell/dictionaries.nix @@ -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 ]; + }; }