blob: 3f46390c12bafe67f9a3375534e19f0658fb1672 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ stdenv, fetchurl, aspell, pkgconfig, glib, hunspell, hspell, unittest-cpp }:
stdenv.mkDerivation rec {
pname = "enchant";
version = "2.2.4";
outputs = [ "out" "dev" ];
src = fetchurl {
url = "https://github.com/AbiWord/${pname}/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = "1p6a3qmrh8bjzds6x7rg9da0ir44gg804jzkf634h39wsa4vdmpm";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib hunspell ];
checkInputs = [ unittest-cpp ];
propagatedBuildInputs = [ hspell aspell ]; # libtool puts it to la file
enableParallelBuilding = true;
doCheck = false; # https://github.com/AbiWord/enchant/issues/219
meta = with stdenv.lib; {
description = "Generic spell checking library";
homepage = https://abiword.github.io/enchant/;
license = licenses.lgpl21Plus; # with extra provision for non-free checkers
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.unix;
};
}
|