2010-12-14 10:21:33 +00:00
|
|
|
{ stdenv, fetchurl, aspell, pkgconfig, glib, hunspell, hspell }:
|
2009-04-22 00:18:09 +01:00
|
|
|
|
2008-02-18 20:51:07 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2010-12-14 10:21:33 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
version = "1.6.0";
|
|
|
|
pname = "enchant";
|
2018-04-17 09:26:39 +01:00
|
|
|
|
2008-02-18 20:51:07 +00:00
|
|
|
src = fetchurl {
|
2010-12-14 10:21:33 +00:00
|
|
|
url = "http://www.abisource.com/downloads/${pname}/${version}/${name}.tar.gz";
|
|
|
|
sha256 = "0zq9yw1xzk8k9s6x83n1f9srzcwdavzazn3haln4nhp9wxxrxb1g";
|
2008-02-18 20:51:07 +00:00
|
|
|
};
|
2018-04-17 09:26:39 +01:00
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-04-17 09:26:39 +01:00
|
|
|
buildInputs = [ aspell glib hunspell hspell ];
|
|
|
|
|
2018-10-08 21:37:05 +01:00
|
|
|
meta = with stdenv.lib; {
|
2018-04-17 09:26:39 +01:00
|
|
|
description = "Generic spell checking library";
|
2008-02-18 20:51:07 +00:00
|
|
|
homepage = http://www.abisource.com/enchant;
|
2018-10-08 21:37:05 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.lgpl21;
|
2008-02-18 20:51:07 +00:00
|
|
|
};
|
|
|
|
}
|