at 15.09-beta 40 lines 1.7 kB view raw
1{ stdenv, fetchurl, ncurses, readline }: 2 3stdenv.mkDerivation rec { 4 name = "hunspell-1.3.3"; 5 6 src = fetchurl { 7 url = "mirror://sourceforge/hunspell/${name}.tar.gz"; 8 sha256 = "0v14ff9s37vkh45diaddndcrj0hmn67arh8xh8k79q9c1vgc1cm7"; 9 }; 10 11 propagatedBuildInputs = [ ncurses readline ]; 12 configureFlags = "--with-ui --with-readline"; 13 14 meta = with stdenv.lib; { 15 homepage = http://hunspell.sourceforge.net; 16 description = "Spell checker"; 17 longDescription = '' 18 Hunspell is the spell checker of LibreOffice, OpenOffice.org, Mozilla 19 Firefox 3 & Thunderbird, Google Chrome, and it is also used by 20 proprietary software packages, like Mac OS X, InDesign, memoQ, Opera and 21 SDL Trados. 22 23 Main features: 24 25 * Extended support for language peculiarities; Unicode character encoding, compounding and complex morphology. 26 * Improved suggestion using n-gram similarity, rule and dictionary based pronunciation data. 27 * Morphological analysis, stemming and generation. 28 * Hunspell is based on MySpell and works also with MySpell dictionaries. 29 * C++ library under GPL/LGPL/MPL tri-license. 30 * Interfaces and ports: 31 * Enchant (Generic spelling library from the Abiword project), 32 * XSpell (Mac OS X port, but Hunspell is part of the OS X from version 10.6 (Snow Leopard), and 33 now it is enough to place Hunspell dictionary files into 34 ~/Library/Spelling or /Library/Spelling for spell checking), 35 * Delphi, Java (JNA, JNI), Perl, .NET, Python, Ruby ([1], [2]), UNO. 36 ''; 37 platforms = platforms.all; 38 maintainers = with stdenv.lib.maintainers; [ fuuzetsu ]; 39 }; 40}