Merge pull request #67928 from jtojnar/enchant-tests
enchant: 2.2.4 → 2.2.5
This commit is contained in:
commit
065c722d73
@ -1,24 +1,50 @@
|
|||||||
{ stdenv, fetchurl, aspell, pkgconfig, glib, hunspell, hspell, unittest-cpp }:
|
{ stdenv
|
||||||
|
, fetchurl
|
||||||
|
, aspell
|
||||||
|
, pkgconfig
|
||||||
|
, glib
|
||||||
|
, hunspell
|
||||||
|
, hspell
|
||||||
|
, unittest-cpp
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "enchant";
|
pname = "enchant";
|
||||||
version = "2.2.4";
|
version = "2.2.5";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/AbiWord/${pname}/releases/download/v${version}/${pname}-${version}.tar.gz";
|
url = "https://github.com/AbiWord/${pname}/releases/download/v${version}/${pname}-${version}.tar.gz";
|
||||||
sha256 = "1p6a3qmrh8bjzds6x7rg9da0ir44gg804jzkf634h39wsa4vdmpm";
|
sha256 = "0r41qjz3104h5raiwlw5ywwybafbxdjz12j1bnq3kq60jlr6d2pf";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ glib hunspell ];
|
pkgconfig
|
||||||
checkInputs = [ unittest-cpp ];
|
];
|
||||||
propagatedBuildInputs = [ hspell aspell ]; # libtool puts it to la file
|
|
||||||
|
buildInputs = [
|
||||||
|
glib
|
||||||
|
hunspell
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
unittest-cpp
|
||||||
|
];
|
||||||
|
|
||||||
|
# libtool puts these to .la files
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
hspell
|
||||||
|
aspell
|
||||||
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
doCheck = false; # https://github.com/AbiWord/enchant/issues/219
|
doCheck = true;
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--enable-relocatable" # needed for tests
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Generic spell checking library";
|
description = "Generic spell checking library";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user