1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00
nixpkgs/pkgs/tools/networking/pdnsd/default.nix
2017-03-08 00:25:15 +01:00

28 lines
679 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "pdnsd-1.2.9a-par";
src = fetchurl {
url = http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-1.2.9a-par.tar.gz;
sha256 = "0yragv5zk77a1hfkpnsh17vvsw8b14d6mzfng4bb7i58rb83an5v";
};
patchPhase = ''
sed -i 's/.*(cachedir).*/:/' Makefile.in
'';
configureFlags = [ "--enable-ipv6" ];
# fix ipv6 on darwin
CPPFLAGS = "-D__APPLE_USE_RFC_3542";
meta = with stdenv.lib; {
description = "Permanent DNS caching";
homepage = http://members.home.nl/p.a.rombouts/pdnsd;
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = with maintainers; [viric];
};
}