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 {
|
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 {
|
2019-08-15 13:41:18 +01: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 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;
|
2019-05-31 03:34:22 +01:00
|
|
|
badPlatforms = [ "x86_64-darwin" ];
|
2018-10-08 21:37:05 +01:00
|
|
|
license = licenses.lgpl21;
|
2008-02-18 20:51:07 +00:00
|
|
|
};
|
|
|
|
}
|