2010-12-14 10:21:33 +00:00
|
|
|
{ stdenv, fetchurl, aspell, pkgconfig, glib, hunspell, hspell }:
|
2009-04-21 23:18:09 +00:00
|
|
|
|
2008-02-18 20:51:07 +00:00
|
|
|
stdenv.mkDerivation rec {
|
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 08:26:39 +00:00
|
|
|
|
2008-02-18 20:51:07 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://github.com/AbiWord/${pname}/releases/download/${pname}-1-6-1/${pname}-${version}.tar.gz";
|
2018-11-21 15:28:15 +00:00
|
|
|
sha256 = "1xg3m7mniyqyff8qv46jbfwgchb6di6qxdjnd5sfir7jzv0dkw5y";
|
2008-02-18 20:51:07 +00:00
|
|
|
};
|
2018-04-17 08:26:39 +00:00
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-04-17 08:26:39 +00:00
|
|
|
buildInputs = [ aspell glib hunspell hspell ];
|
|
|
|
|
2018-10-08 20:37:05 +00:00
|
|
|
meta = with stdenv.lib; {
|
2018-04-17 08:26:39 +00:00
|
|
|
description = "Generic spell checking library";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://abiword.github.io/enchant";
|
2018-10-08 20:37:05 +00:00
|
|
|
platforms = platforms.unix;
|
2019-05-31 02:34:22 +00:00
|
|
|
badPlatforms = [ "x86_64-darwin" ];
|
2018-10-08 20:37:05 +00:00
|
|
|
license = licenses.lgpl21;
|
2008-02-18 20:51:07 +00:00
|
|
|
};
|
|
|
|
}
|