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