2011-11-01 22:33:40 +00:00
|
|
|
{stdenv, fetchurl, openssl, perl}:
|
|
|
|
|
2013-05-27 06:57:08 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ldns-1.6.16";
|
|
|
|
|
2011-11-01 22:33:40 +00:00
|
|
|
src = fetchurl {
|
2013-05-27 06:57:08 +01:00
|
|
|
url = "http://www.nlnetlabs.nl/downloads/ldns/${name}.tar.gz";
|
|
|
|
sha256 = "15gn9m95r6sq2n55dw4r87p2aljb5lvy1w0y0br70wbr0p5zkci4";
|
2011-11-01 22:33:40 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i 's,\$(srcdir)/doc/doxyparse.pl,perl $(srcdir)/doc/doxyparse.pl,' Makefile.in
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ openssl perl ];
|
|
|
|
|
2013-05-27 06:57:08 +01:00
|
|
|
configureFlags = [ "--with-ssl=${openssl}" "--with-drill" ];
|
2011-11-01 22:33:40 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Library with the aim of simplifying DNS programming in C";
|
|
|
|
license = "BSD";
|
|
|
|
homepage = "http://www.nlnetlabs.nl/projects/ldns/";
|
|
|
|
};
|
|
|
|
}
|