3
0
Fork 0
forked from mirrors/nixpkgs

dico: 2.7 -> 2.9

2.9: http://lists.gnu.org/archive/html/info-gnu/2019-04/msg00009.html
2.8: http://lists.gnu.org/archive/html/info-gnu/2019-02/msg00011.html

also: pname, enable tests, remove stale TODO
This commit is contained in:
Will Dietz 2019-04-24 08:39:47 -05:00
parent 28a95c4f7f
commit 53408bddd5

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";