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 {
|
2013-12-20 23:09:06 +00:00
|
|
|
name = "unbound-1.4.21";
|
2010-02-09 07:28:32 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://unbound.net/downloads/${name}.tar.gz";
|
2013-12-20 23:09:06 +00:00
|
|
|
sha256 = "0w09m2rbn688rsk37k5xm3vkk5h2hxhivsr374j7h7vjf9x82bsh";
|
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 = {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Validating, recursive, and caching DNS resolver";
|
2010-02-09 07:28:32 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|