at v192 50 lines 1.7 kB view raw
1{ fetchurl, stdenv, libtool, gettext, zlib, readline, gsasl 2, guile, python, pcre, libffi }: 3 4stdenv.mkDerivation rec { 5 name = "dico-2.2"; 6 7 src = fetchurl { 8 url = "mirror://gnu/dico/${name}.tar.xz"; 9 sha256 = "04pjks075x20d19l623mj50bw64g8i41s63z4kzzqcbg9qg96x64"; 10 }; 11 12 # XXX: Add support for GNU SASL. 13 buildInputs = 14 [ libtool gettext zlib readline gsasl guile python pcre libffi ]; 15 16 # dicod fails to load modules, so the tests fail 17 doCheck = false; 18 19 preBuild = '' 20 sed -i -e '/gets is a security/d' gnu/stdio.in.h 21 ''; 22 23 meta = with stdenv.lib; { 24 description = "Flexible dictionary server and client implementing RFC 2229"; 25 homepage = http://www.gnu.org/software/dico/; 26 license = licenses.gpl3Plus; 27 maintainers = with maintainers; [ lovek323 ]; 28 platforms = platforms.unix; 29 30 longDescription = '' 31 GNU Dico is a flexible modular implementation of DICT server 32 (RFC 2229). In contrast to another existing servers, it does 33 not depend on particular database format, instead it handles 34 database accesses using loadable modules. 35 36 The package includes several loadable modules for interfacing 37 with various database formats, among them a module for dict.org 38 databases and a module for transparently accessing Wikipedia or 39 Wiktionary sites as a dictionary database. 40 41 New modules can easily be written in C, Guile or Python. The 42 module API is mature and well documented. 43 44 A web interface serving several databases is available. 45 46 The package also includes a console client program for querying 47 remote dictionary servers. 48 ''; 49 }; 50}