summary refs log tree commit diff
path: root/pkgs/development/libraries/hunspell
diff options
context:
space:
mode:
authorJai Flack <jaiflack@protonmail.com>2019-08-25 10:37:51 +1000
committerMatthew Bauer <mjbauer95@gmail.com>2019-08-24 20:37:51 -0400
commit004e9b5b4186dad1c675415a4e166621874edb5b (patch)
treec3a54a1b77139eb5fae87bb9060045c553a2d574 /pkgs/development/libraries/hunspell
parent3d29aa139fed093a47018a54030c3f2ce9f1e1eb (diff)
downloadnixpkgs-004e9b5b4186dad1c675415a4e166621874edb5b.tar
nixpkgs-004e9b5b4186dad1c675415a4e166621874edb5b.tar.gz
nixpkgs-004e9b5b4186dad1c675415a4e166621874edb5b.tar.bz2
nixpkgs-004e9b5b4186dad1c675415a4e166621874edb5b.tar.lz
nixpkgs-004e9b5b4186dad1c675415a4e166621874edb5b.tar.xz
nixpkgs-004e9b5b4186dad1c675415a4e166621874edb5b.tar.zst
nixpkgs-004e9b5b4186dad1c675415a4e166621874edb5b.zip
hunspell-dicts: add support for Australian dictionary (#66462)
Using the SCOWL dictionaries (same as en_US and en_CA)
Diffstat (limited to 'pkgs/development/libraries/hunspell')
-rw-r--r--pkgs/development/libraries/hunspell/dictionaries.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/development/libraries/hunspell/dictionaries.nix b/pkgs/development/libraries/hunspell/dictionaries.nix
index 1c86830f258..b9a283d80d2 100644
--- a/pkgs/development/libraries/hunspell/dictionaries.nix
+++ b/pkgs/development/libraries/hunspell/dictionaries.nix
@@ -312,6 +312,17 @@ in rec {
     };
   };
 
+  en-au = mkDictFromWordlist {
+    shortName = "en-au";
+    shortDescription = "English (Australia)";
+    dictFileName = "en_AU";
+    src = fetchurl {
+      url = mirror://sourceforge/wordlist/speller/2018.04.16/hunspell-en_AU-2018.04.16.zip;
+      sha256 = "1kp06npl1kd05mm9r52cg2iwc13x02zwqgpibdw15b6x43agg6f5";
+    };
+  };
+  en_AU = en-au;
+
   en_GB-ise = en-gb-ise;
   en-gb-ise = mkDictFromWordlist {
     shortName = "en-gb-ise";