diff options
author | Jason "Don" O'Conal <lovek323@gmail.com> | 2013-11-29 00:10:23 +0000 |
---|---|---|
committer | Jason "Don" O'Conal <lovek323@gmail.com> | 2013-11-29 00:10:23 +0000 |
commit | 7f6b5a04727aea2563784c175d2b0db6c9c213b2 (patch) | |
tree | ea1074863ecec41be68f43c129ad33af13605eb5 /pkgs/servers/dico | |
parent | 78cb479f73cff37ddd6a214d6a8d726f703fd2d1 (diff) |
dico: fix build
Diffstat (limited to 'pkgs/servers/dico')
-rw-r--r-- | pkgs/servers/dico/default.nix | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/pkgs/servers/dico/default.nix b/pkgs/servers/dico/default.nix index d711d8a75ca53..ca4980f5a6c43 100644 --- a/pkgs/servers/dico/default.nix +++ b/pkgs/servers/dico/default.nix @@ -1,5 +1,5 @@ { fetchurl, stdenv, libtool, gettext, zlib, readline, gsasl -, guile, python, pcre }: +, guile, python, pcre, libffi }: stdenv.mkDerivation rec { name = "dico-2.2"; @@ -10,12 +10,22 @@ stdenv.mkDerivation rec { }; # 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"; + homepage = http://www.gnu.org/software/dico/; + license = "GPLv3+"; + maintainers = with maintainers; [ lovek323 ]; + platforms = platforms.unix; longDescription = '' 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 remote dictionary servers. ''; - - homepage = http://www.gnu.org/software/dico/; - - license = "GPLv3+"; }; } |