diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2011-11-01 22:33:40 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2011-11-01 22:33:40 +0000 |
commit | d4b26a727a9598fa6de159535e5539f1e044599f (patch) | |
tree | 8f225f55a1bf00c09190198f26ab9256738f36da /pkgs/development/libraries/ldns | |
parent | 0f6979f5b9dbb9db0b5ea605b40025f96346ab90 (diff) |
Updating unbound.
svn path=/nixpkgs/trunk/; revision=30174
Diffstat (limited to 'pkgs/development/libraries/ldns')
-rw-r--r-- | pkgs/development/libraries/ldns/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/libraries/ldns/default.nix b/pkgs/development/libraries/ldns/default.nix new file mode 100644 index 0000000000000..a357fccca16f1 --- /dev/null +++ b/pkgs/development/libraries/ldns/default.nix @@ -0,0 +1,23 @@ +{stdenv, fetchurl, openssl, perl}: + +stdenv.mkDerivation { + name = "ldns-1.6.11"; + src = fetchurl { + url = "http://www.nlnetlabs.nl/downloads/ldns/ldns-1.6.11.tar.gz"; + sha256 = "1248c9gkgfmjdmpp3lfd56vvln94ii54kbxa5iykxvcxivmbi4b8"; + }; + + patchPhase = '' + sed -i 's,\$(srcdir)/doc/doxyparse.pl,perl $(srcdir)/doc/doxyparse.pl,' Makefile.in + ''; + + buildInputs = [ openssl perl ]; + + configureFlags = [ "--with-ssl=${openssl}" ]; + + meta = { + description = "Library with the aim of simplifying DNS programming in C"; + license = "BSD"; + homepage = "http://www.nlnetlabs.nl/projects/ldns/"; + }; +} |