13 stdenv.mkDerivation rec {
18 url = "mirror://sourceforge/dict/dictd-${version}.tar.gz";
19 sha256 = "sha256-5PGmfRaJTYSUVp19yUQsFcw4wBHyuWMcfxzGInZlKhs=";
34 # In earlier versions, parallel building was not supported but it's OK with 1.13
35 enableParallelBuilding = true;
37 patchPhase = "patch -p0 < ${./buildfix.diff}";
40 "--datadir=/run/current-system/sw/share/dictd"
44 env.NIX_CFLAGS_COMPILE = toString (
45 lib.optionals stdenv.cc.isClang [
46 "-Wno-error=implicit-function-declaration"
51 install -Dm444 -t $out/share/doc/${pname} NEWS README
55 description = "Dict protocol server and client";
56 homepage = "http://www.dict.org";
57 license = licenses.gpl2Plus;
58 maintainers = with maintainers; [ sikmir ];
59 platforms = platforms.unix;