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