summary refs log tree commit diff
path: root/pkgs/development/libraries/enchant
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2019-07-01 04:59:35 -0700
committerJan Tojnar <jtojnar@gmail.com>2019-08-06 12:04:16 +0200
commit3c72fa7dda961613ea48fa3ebaf23fa18e3be8e4 (patch)
treecf457a44ebb74175bed9111f50b3c595837b4dc3 /pkgs/development/libraries/enchant
parent5b4b6b6c24e2756bf5d98eb03974637cd193c076 (diff)
downloadnixpkgs-3c72fa7dda961613ea48fa3ebaf23fa18e3be8e4.tar
nixpkgs-3c72fa7dda961613ea48fa3ebaf23fa18e3be8e4.tar.gz
nixpkgs-3c72fa7dda961613ea48fa3ebaf23fa18e3be8e4.tar.bz2
nixpkgs-3c72fa7dda961613ea48fa3ebaf23fa18e3be8e4.tar.lz
nixpkgs-3c72fa7dda961613ea48fa3ebaf23fa18e3be8e4.tar.xz
nixpkgs-3c72fa7dda961613ea48fa3ebaf23fa18e3be8e4.tar.zst
nixpkgs-3c72fa7dda961613ea48fa3ebaf23fa18e3be8e4.zip
enchant: 2.2.3 -> 2.2.4
Clean up the expression and prepare for tests. Unfortunately, I could not get them pass.
Diffstat (limited to 'pkgs/development/libraries/enchant')
-rw-r--r--pkgs/development/libraries/enchant/2.x.nix17
1 files changed, 9 insertions, 8 deletions
diff --git a/pkgs/development/libraries/enchant/2.x.nix b/pkgs/development/libraries/enchant/2.x.nix
index 8b559bd03c8..3f46390c12b 100644
--- a/pkgs/development/libraries/enchant/2.x.nix
+++ b/pkgs/development/libraries/enchant/2.x.nix
@@ -1,23 +1,24 @@
-{ stdenv, fetchurl, aspell, pkgconfig, glib, hunspell, hspell }:
+{ stdenv, fetchurl, aspell, pkgconfig, glib, hunspell, hspell, unittest-cpp }:
 
-let
-  version = "2.2.3";
+stdenv.mkDerivation rec {
   pname = "enchant";
-in stdenv.mkDerivation rec {
-  name = "${pname}-${version}";
+  version = "2.2.4";
 
   outputs = [ "out" "dev" ];
 
   src = fetchurl {
-    url = "https://github.com/AbiWord/${pname}/releases/download/v${version}/${name}.tar.gz";
-    sha256 = "0v87p1ls0gym95qirijpclk650sjbkcjjl6ssk059zswcwaykn5b";
+    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
 
-  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; {
     description = "Generic spell checking library";