Merge pull request #60160 from dtzWill/update/dico-2.9

dico: 2.7 -> 2.9
This commit is contained in:
Aaron Andersen 2019-04-27 21:00:44 -04:00 committed by GitHub
commit 621584cdb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,25 +2,20 @@
, guile, python, pcre, libffi, groff }:
stdenv.mkDerivation rec {
name = "dico-2.7";
pname = "dico";
version = "2.9";
src = fetchurl {
url = "mirror://gnu/dico/${name}.tar.xz";
sha256 = "0dg4aacnmlf3ljssd7dwh8z5644xzq8k1501mbsx8nz8p8a9mbsq";
url = "mirror://gnu/${pname}/${pname}-${version}.tar.xz";
sha256 = "0i9xqhy3h5nlizcmav4mv5ay8ivdgn4l4k0k7fxix3fsc87nijyr";
};
hardeningDisable = [ "format" ];
# XXX: Add support for GNU SASL.
buildInputs =
[ libtool gettext zlib readline gsasl guile python pcre libffi groff ];
# dicod fails to load modules, so the tests fail
doCheck = false;
preBuild = ''
sed -i -e '/gets is a security/d' gnu/stdio.in.h
'';
doCheck = true;
meta = with stdenv.lib; {
description = "Flexible dictionary server and client implementing RFC 2229";