From 91d0ab7af1489ed71980408aeb30734811474121 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 27 May 2013 07:57:08 +0200 Subject: [PATCH] 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 --- pkgs/development/libraries/ldns/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/development/libraries/ldns/default.nix b/pkgs/development/libraries/ldns/default.nix index a357fccca16f..8479551d28d0 100644 --- a/pkgs/development/libraries/ldns/default.nix +++ b/pkgs/development/libraries/ldns/default.nix @@ -1,10 +1,11 @@ {stdenv, fetchurl, openssl, perl}: -stdenv.mkDerivation { - name = "ldns-1.6.11"; +stdenv.mkDerivation rec { + name = "ldns-1.6.16"; + src = fetchurl { - url = "http://www.nlnetlabs.nl/downloads/ldns/ldns-1.6.11.tar.gz"; - sha256 = "1248c9gkgfmjdmpp3lfd56vvln94ii54kbxa5iykxvcxivmbi4b8"; + url = "http://www.nlnetlabs.nl/downloads/ldns/${name}.tar.gz"; + sha256 = "15gn9m95r6sq2n55dw4r87p2aljb5lvy1w0y0br70wbr0p5zkci4"; }; patchPhase = '' @@ -13,7 +14,7 @@ stdenv.mkDerivation { buildInputs = [ openssl perl ]; - configureFlags = [ "--with-ssl=${openssl}" ]; + configureFlags = [ "--with-ssl=${openssl}" "--with-drill" ]; meta = { description = "Library with the aim of simplifying DNS programming in C";