2010-06-30 17:53:28 +02:00
|
|
|
{ stdenv, fetchurl, ncurses, readline }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-09-30 12:05:52 +02:00
|
|
|
name = "hunspell-1.3.3";
|
2010-06-30 17:53:28 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-01-14 12:00:32 +01:00
|
|
|
url = "mirror://sourceforge/hunspell/${name}.tar.gz";
|
2014-09-30 12:05:52 +02:00
|
|
|
sha256 = "0v14ff9s37vkh45diaddndcrj0hmn67arh8xh8k79q9c1vgc1cm7";
|
2010-06-30 17:53:28 +02:00
|
|
|
};
|
|
|
|
|
2016-08-29 02:30:01 +02:00
|
|
|
outputs = [ "bin" "dev" "out" "man" ];
|
2015-04-19 01:26:19 +02:00
|
|
|
|
|
|
|
buildInputs = [ ncurses readline ];
|
|
|
|
configureFlags = [ "--with-ui" "--with-readline" ];
|
2010-06-30 17:53:28 +02:00
|
|
|
|
2016-04-05 18:49:28 +02:00
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2010-06-30 17:53:28 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://hunspell.sourceforge.net;
|
2013-10-06 11:49:53 +02:00
|
|
|
description = "Spell checker";
|
2010-06-30 17:53:28 +02:00
|
|
|
longDescription = ''
|
2013-10-06 11:49:53 +02:00
|
|
|
Hunspell is the spell checker of LibreOffice, OpenOffice.org, Mozilla
|
|
|
|
Firefox 3 & Thunderbird, Google Chrome, and it is also used by
|
|
|
|
proprietary software packages, like Mac OS X, InDesign, memoQ, Opera and
|
|
|
|
SDL Trados.
|
|
|
|
|
2010-06-30 17:53:28 +02:00
|
|
|
Main features:
|
2013-10-06 11:49:53 +02:00
|
|
|
|
2010-06-30 17:53:28 +02:00
|
|
|
* Extended support for language peculiarities; Unicode character encoding, compounding and complex morphology.
|
2014-12-30 03:31:03 +01:00
|
|
|
* Improved suggestion using n-gram similarity, rule and dictionary based pronunciation data.
|
2010-06-30 17:53:28 +02:00
|
|
|
* 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;
|
2014-09-30 12:05:52 +02:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
2010-06-30 17:53:28 +02:00
|
|
|
};
|
|
|
|
}
|