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}";
|
2018-11-21 15:28:15 +00:00
|
|
|
version = "1.6.1";
|
2010-12-14 10:21:33 +00:00
|
|
|
pname = "enchant";
|
2018-04-17 09:26:39 +01:00
|
|
|
|
2008-02-18 20:51:07 +00:00
|
|
|
src = fetchurl {
|
2018-11-21 15:28:15 +00:00
|
|
|
url = "https://github.com/AbiWord/${pname}/releases/download/${pname}-1-6-1/${name}.tar.gz";
|
|
|
|
sha256 = "1xg3m7mniyqyff8qv46jbfwgchb6di6qxdjnd5sfir7jzv0dkw5y";
|
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";
|
2018-11-21 15:28:15 +00:00
|
|
|
homepage = https://abiword.github.io/enchant;
|
2018-10-08 21:37:05 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
license = licenses.lgpl21;
|
2008-02-18 20:51:07 +00:00
|
|
|
};
|
|
|
|
}
|