about summary refs log tree commit diff
path: root/pkgs/servers/dict/default.nix
blob: 0b78bb9ae948edf46ceb47361d2c7682814983f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ stdenv, fetchurl, which, bison, flex }:

stdenv.mkDerivation {
  name = "dictd-1.9.15";

  src = fetchurl {
    url = mirror://sourceforge/dict/dictd-1.9.15.tar.gz;
    sha256 = "0p41yf72l0igmshz6vxy3hm51z25600vrnb9j2jpgws4c03fqnac";
  };

  buildInputs = [ flex bison which ];
  
  configureFlags = "--datadir=/var/run/current-system/share/dictd";

  meta = {
    description = "Dict protocol server and client";
  };
}