about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDmitry Kalinkin <dmitry.kalinkin@gmail.com>2020-02-14 02:51:35 -0500
committerGitHub <noreply@github.com>2020-02-14 02:51:35 -0500
commit8979d2dde534eb7d8f979c4b8283697a789f5b0a (patch)
tree3888aeafd47812d38aa5c2a91a257987576baae2
parentc5b6c6958fa2cdabe9dad3f33f51a02b6496645c (diff)
parentaf5c8e7a2aad2ef9f940270d25141ddd498ce516 (diff)
downloadnixlib-8979d2dde534eb7d8f979c4b8283697a789f5b0a.tar
nixlib-8979d2dde534eb7d8f979c4b8283697a789f5b0a.tar.gz
nixlib-8979d2dde534eb7d8f979c4b8283697a789f5b0a.tar.bz2
nixlib-8979d2dde534eb7d8f979c4b8283697a789f5b0a.tar.lz
nixlib-8979d2dde534eb7d8f979c4b8283697a789f5b0a.tar.xz
nixlib-8979d2dde534eb7d8f979c4b8283697a789f5b0a.tar.zst
nixlib-8979d2dde534eb7d8f979c4b8283697a789f5b0a.zip
Merge pull request #80052 from mmilata/hunspell-dict-cs
hunspellDicts: add Czech and Slovak dictionary
-rw-r--r--pkgs/development/libraries/hunspell/dictionaries.nix26
1 files changed, 24 insertions, 2 deletions
diff --git a/pkgs/development/libraries/hunspell/dictionaries.nix b/pkgs/development/libraries/hunspell/dictionaries.nix
index fb64aa81d1a0..9ec79f514437 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}/* .
@@ -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 ];
+  };
 }