Merge pull request #1295 from lovek323/dico

dico: fix build
This commit is contained in:
Michael Raskin 2013-11-28 21:36:04 -08:00
commit b4cc9128a0

View file

@ -1,5 +1,5 @@
{ fetchurl, stdenv, libtool, gettext, zlib, readline, gsasl { fetchurl, stdenv, libtool, gettext, zlib, readline, gsasl
, guile, python, pcre }: , guile, python, pcre, libffi }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "dico-2.2"; name = "dico-2.2";
@ -10,12 +10,22 @@ stdenv.mkDerivation rec {
}; };
# XXX: Add support for GNU SASL. # XXX: Add support for GNU SASL.
buildInputs = [ libtool gettext zlib readline gsasl guile python pcre ]; buildInputs =
[ libtool gettext zlib readline gsasl guile python pcre libffi ];
doCheck = true; # dicod fails to load modules, so the tests fail
doCheck = false;
meta = { preBuild = ''
sed -i -e '/gets is a security/d' gnu/stdio.in.h
'';
meta = with stdenv.lib; {
description = "GNU Dico, a flexible dictionary server and client implementing RFC 2229"; description = "GNU Dico, a flexible dictionary server and client implementing RFC 2229";
homepage = http://www.gnu.org/software/dico/;
license = "GPLv3+";
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix;
longDescription = '' longDescription = ''
GNU Dico is a flexible modular implementation of DICT server GNU Dico is a flexible modular implementation of DICT server
@ -36,9 +46,5 @@ stdenv.mkDerivation rec {
The package also includes a console client program for querying The package also includes a console client program for querying
remote dictionary servers. remote dictionary servers.
''; '';
homepage = http://www.gnu.org/software/dico/;
license = "GPLv3+";
}; };
} }