2010-06-30 16:53:28 +01:00
|
|
|
{ stdenv, fetchurl, ncurses, readline }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-12-13 18:10:31 +00:00
|
|
|
name = "hunspell-1.2.12";
|
2010-06-30 16:53:28 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sf/hunspell/${name}.tar.gz";
|
2010-12-13 18:10:31 +00:00
|
|
|
sha256 = "0s8fh8zanhks6bgkb7dzwscy97fb6wl4ymvjqz7188fz29qjlnaz";
|
2010-06-30 16:53:28 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ ncurses readline ];
|
|
|
|
configureFlags = "--with-ui --with-readline";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://hunspell.sourceforge.net;
|
|
|
|
description = "The spell checker of OpenOffice.org and Mozilla Firefox 3 & Thunderbird, Google Chrome etc.";
|
|
|
|
longDescription = ''
|
|
|
|
Main features:
|
|
|
|
* Extended support for language peculiarities; Unicode character encoding, compounding and complex morphology.
|
|
|
|
* Improved suggestion using n-gram similarity, rule and dictionary based pronounciation data.
|
|
|
|
* Morphological analysis, stemming and generation.
|
|
|
|
* Hunspell is based on MySpell and works also with MySpell dictionaries.
|
|
|
|
* C++ library under GPL/LGPL/MPL tri-license.
|
|
|
|
* Interfaces and ports:
|
|
|
|
* Enchant (Generic spelling library from the Abiword project),
|
|
|
|
* XSpell (Mac OS X port, but Hunspell is part of the OS X from version 10.6 (Snow Leopard), and
|
|
|
|
now it is enough to place Hunspell dictionary files into
|
|
|
|
~/Library/Spelling or /Library/Spelling for spell checking),
|
|
|
|
* Delphi, Java (JNA, JNI), Perl, .NET, Python, Ruby ([1], [2]), UNO.
|
|
|
|
'';
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.urkud ];
|
|
|
|
};
|
|
|
|
}
|