1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00
nixpkgs/pkgs/development/libraries/ldns/default.nix
aszlig 91d0ab7af1
ldns: Update to 1.6.16 and enable drill.
Drill is a lightweight DNS lookup command using ldns, which we are going to use
in Gajim, to avoid a dependency on bind.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-05-27 10:18:00 +02:00

25 lines
634 B
Nix

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