enchant: 2.2.3 -> 2.2.4
Clean up the expression and prepare for tests. Unfortunately, I could not get them pass.
This commit is contained in:
parent
5b4b6b6c24
commit
3c72fa7dda
1 changed files with 9 additions and 8 deletions
|
@ -1,23 +1,24 @@
|
||||||
{ stdenv, fetchurl, aspell, pkgconfig, glib, hunspell, hspell }:
|
{ stdenv, fetchurl, aspell, pkgconfig, glib, hunspell, hspell, unittest-cpp }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
version = "2.2.3";
|
|
||||||
pname = "enchant";
|
pname = "enchant";
|
||||||
in stdenv.mkDerivation rec {
|
version = "2.2.4";
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/AbiWord/${pname}/releases/download/v${version}/${name}.tar.gz";
|
url = "https://github.com/AbiWord/${pname}/releases/download/v${version}/${pname}-${version}.tar.gz";
|
||||||
sha256 = "0v87p1ls0gym95qirijpclk650sjbkcjjl6ssk059zswcwaykn5b";
|
sha256 = "1p6a3qmrh8bjzds6x7rg9da0ir44gg804jzkf634h39wsa4vdmpm";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ glib hunspell ];
|
buildInputs = [ glib hunspell ];
|
||||||
|
checkInputs = [ unittest-cpp ];
|
||||||
propagatedBuildInputs = [ hspell aspell ]; # libtool puts it to la file
|
propagatedBuildInputs = [ hspell aspell ]; # libtool puts it to la file
|
||||||
|
|
||||||
doCheck = false; # fails to compile with with "UnitTest++.h: No such file or directory"
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
doCheck = false; # https://github.com/AbiWord/enchant/issues/219
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Generic spell checking library";
|
description = "Generic spell checking library";
|
||||||
|
|
Loading…
Reference in a new issue