2021-01-22 00:00:13 +07:00
|
|
|
{ lib, stdenv, fetchurl, aspell, pkg-config, 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 16:28:15 +01: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 16:28:15 +01:00
|
|
|
sha256 = "1xg3m7mniyqyff8qv46jbfwgchb6di6qxdjnd5sfir7jzv0dkw5y";
|
2008-02-18 20:51:07 +00:00
|
|
|
};
|
2018-04-17 08:26:39 +00:00
|
|
|
|
2021-01-18 22:50:56 -08:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2018-04-17 08:26:39 +00:00
|
|
|
buildInputs = [ aspell glib hunspell hspell ];
|
|
|
|
|
2021-01-22 00:00:13 +07:00
|
|
|
meta = with lib; {
|
2018-04-17 08:26:39 +00:00
|
|
|
description = "Generic spell checking library";
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "https://abiword.github.io/enchant";
|
2018-10-08 22:37:05 +02:00
|
|
|
platforms = platforms.unix;
|
2019-05-30 22:34:22 -04:00
|
|
|
badPlatforms = [ "x86_64-darwin" ];
|
2018-10-08 22:37:05 +02:00
|
|
|
license = licenses.lgpl21;
|
2008-02-18 20:51:07 +00:00
|
|
|
};
|
|
|
|
}
|