2011-11-01 23:33:40 +01:00
|
|
|
{ stdenv, fetchurl, openssl, expat, libevent, ldns }:
|
2010-02-09 08:28:32 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-21 00:09:06 +01:00
|
|
|
name = "unbound-1.4.21";
|
2010-02-09 08:28:32 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://unbound.net/downloads/${name}.tar.gz";
|
2013-12-21 00:09:06 +01:00
|
|
|
sha256 = "0w09m2rbn688rsk37k5xm3vkk5h2hxhivsr374j7h7vjf9x82bsh";
|
2010-02-09 08:28:32 +01:00
|
|
|
};
|
|
|
|
|
2011-11-01 23:33:40 +01:00
|
|
|
buildInputs = [openssl expat libevent ldns];
|
2010-02-09 08:28:32 +01:00
|
|
|
|
2011-11-01 23:33:40 +01:00
|
|
|
configureFlags = [ "--with-ssl=${openssl}" "--with-libexpat=${expat}"
|
|
|
|
"--localstatedir=/var" ];
|
2010-02-09 08:28:32 +01:00
|
|
|
|
|
|
|
meta = {
|
2013-10-06 11:49:53 +02:00
|
|
|
description = "Validating, recursive, and caching DNS resolver";
|
2010-02-09 08:28:32 +01:00
|
|
|
license = "BSD";
|
2010-02-09 11:17:13 +01:00
|
|
|
homepage = http://www.unbound.net;
|
2011-11-01 23:33:40 +01:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
2010-02-09 08:28:32 +01:00
|
|
|
};
|
|
|
|
}
|