2011-11-01 22:33:40 +00:00
|
|
|
{ stdenv, fetchurl, openssl, expat, libevent, ldns }:
|
2010-02-09 07:28:32 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-11-01 22:33:40 +00:00
|
|
|
name = "unbound-1.4.13";
|
2010-02-09 07:28:32 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://unbound.net/downloads/${name}.tar.gz";
|
2011-11-01 22:33:40 +00:00
|
|
|
sha256 = "04r379gma1ghr9zjc1fmncpw8kka4f0mpcmrzidsp264aqkxriw3";
|
2010-02-09 07:28:32 +00:00
|
|
|
};
|
|
|
|
|
2011-11-01 22:33:40 +00:00
|
|
|
buildInputs = [openssl expat libevent ldns];
|
2010-02-09 07:28:32 +00:00
|
|
|
|
2011-11-01 22:33:40 +00:00
|
|
|
configureFlags = [ "--with-ssl=${openssl}" "--with-libexpat=${expat}"
|
|
|
|
"--localstatedir=/var" ];
|
2010-02-09 07:28:32 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Unbound, a validating, recursive, and caching DNS resolver.";
|
|
|
|
license = "BSD";
|
2010-02-09 10:17:13 +00:00
|
|
|
homepage = http://www.unbound.net;
|
2011-11-01 22:33:40 +00:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2010-02-09 07:28:32 +00:00
|
|
|
};
|
|
|
|
}
|