@@ -2,25 +2,20 @@
22, guile, python, pcre, libffi, groff }:
33
44stdenv.mkDerivation rec {
5− name = "dico-2.7";
5+ pname = "dico";
6+ version = "2.9";
67
78 src = fetchurl {
8− url = "mirror://gnu/dico/${name}.tar.xz";
9− sha256 = "0dg4aacnmlf3ljssd7dwh8z5644xzq8k1501mbsx8nz8p8a9mbsq";
9+ url = "mirror://gnu/${pname}/${pname}-${version}.tar.xz";
10+ sha256 = "0i9xqhy3h5nlizcmav4mv5ay8ivdgn4l4k0k7fxix3fsc87nijyr";
1011 };
1112
1213 hardeningDisable = [ "format" ];
1314
14− # XXX: Add support for GNU SASL.
1515 buildInputs =
1616 [ libtool gettext zlib readline gsasl guile python pcre libffi groff ];
1717
18− # dicod fails to load modules, so the tests fail
19− doCheck = false;
20−
21− preBuild = ''
22− sed -i -e '/gets is a security/d' gnu/stdio.in.h
23− '';
18+ doCheck = true;
2419
2520 meta = with stdenv.lib; {
2621 description = "Flexible dictionary server and client implementing RFC 2229";