summary refs log tree commit diff
path: root/pkgs/tools/networking/pdnsd/default.nix
blob: 14f57b61a2f10c53bace3e44dbbfe40652c3469f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl }:

stdenv.mkDerivation rec {
  name = "pdnsd-1.2.8-par";

  src = fetchurl {
    url = http://www.phys.uu.nl/~rombouts/pdnsd/releases/pdnsd-1.2.8-par.tar.gz;
    sha256 = "0ki4xkklc5lqs2qfmww63dc2zax48x8acfw661206ps4kvhasg2z";
  };

  patchPhase = ''
    sed -i 's/.*(cachedir).*/:/' Makefile.in
  '';

  meta = { 
    description = "Permanent DNS caching";
    homepage = http://www.phys.uu.nl/~rombouts/pdnsd.html;
    license = "GPLv3+";
    platforms = stdenv.lib.platforms.unix;
    maintainers = with stdenv.lib.maintainers; [viric];
  };
}