hspell: Add zlib

As mentioned by the configure script output, hspell will fall back
on using `gzip` program when not linked against `zlib`:

No Zlib library, defaulting to using pipes

It has been removed in 67f0a216e5c8cec5a1d1787c57dbf8b4fb56ccf9 for some reason.

Without this patch, Geary is stuck loading messages, even though I can interact
with the rest of its UI. I am also getting the following in the log so broken
piping might be breaking webkitgtk for some reason:

Hspell: can't run gzip -dc '/nix/store/14qk9r9ywvpqn0a24fvw1iwjv302d04j-hspell-1.4/share/hspell/hebrew.wgz.prefixes'.
Could not create GBM EGL display: EGL_NOT_INITIALIZED. Aborting...

And after quitting Geary:

*[wrn] 18:29:13.0226 geary:application-client.vala:464: Forcing shutdown of Geary, 7s passed...
gzip:
gzip: stdout: Broken pipe
stdout: Broken pipe

Co-authored-by: Colin <colin@uninsane.org>

Jan Tojnar ad3be326 3588b4d2

Changed files
+5 -2
pkgs
development
libraries
hspell
+5 -2
pkgs/development/libraries/hspell/default.nix
···
patches = [ ./remove-shared-library-checks.patch ];
postPatch = "patchShebangs .";
preBuild = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
-
make CC=${buildPackages.stdenv.cc}/bin/cc find_sizes
+
make CC='${buildPackages.stdenv.cc}/bin/cc -I${lib.getDev buildPackages.zlib}/include -L${buildPackages.zlib}/lib' find_sizes
mv find_sizes find_sizes_build
make clean
···
perl
zlib
];
-
buildInputs = [ perl ];
+
buildInputs = [
+
perl
+
zlib
+
];
strictDeps = true;