10 stdenv.mkDerivation rec {
14 src = fetchFromGitHub {
18 sha256 = "sha256-x2FXxnVIqsf5/UEQcvchAndXBv/3mW8Z55djQAFgNA8=";
32 nativeBuildInputs = [ autoreconfHook ];
35 ./0001-Make-hunspell-look-in-XDG_DATA_DIRS-for-dictionaries.patch
42 autoreconfFlags = [ "-vfi" ];
49 hardeningDisable = [ "format" ];
52 homepage = "https://hunspell.sourceforge.net";
53 description = "Spell checker";
55 Hunspell is the spell checker of LibreOffice, OpenOffice.org, Mozilla
56 Firefox 3 & Thunderbird, Google Chrome, and it is also used by
57 proprietary software packages, like macOS, InDesign, memoQ, Opera and
62 * Extended support for language peculiarities; Unicode character encoding, compounding and complex morphology.
63 * Improved suggestion using n-gram similarity, rule and dictionary based pronunciation data.
64 * Morphological analysis, stemming and generation.
65 * Hunspell is based on MySpell and works also with MySpell dictionaries.
66 * C++ library under GPL/LGPL/MPL tri-license.
67 * Interfaces and ports:
68 * Enchant (Generic spelling library from the Abiword project),
69 * XSpell (macOS port, but Hunspell is part of the macOS from version 10.6 (Snow Leopard), and
70 now it is enough to place Hunspell dictionary files into
71 ~/Library/Spelling or /Library/Spelling for spell checking),
72 * Delphi, Java (JNA, JNI), Perl, .NET, Python, Ruby ([1], [2]), UNO.
74 platforms = platforms.all;
75 license = with licenses; [