2014-04-20 08:16:36 -07:00
|
|
|
{ stdenv, fetchurl, openssl, expat, libevent }:
|
2010-02-08 23:28:32 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-04-20 08:16:36 -07:00
|
|
|
name = "unbound-1.4.22";
|
2010-02-08 23:28:32 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://unbound.net/downloads/${name}.tar.gz";
|
2014-04-20 08:16:36 -07:00
|
|
|
sha256 = "17yjly9c00zfgbzvllqzjh668a4yk6vrinf47yrcs3hrna0m1bqw";
|
2010-02-08 23:28:32 -08:00
|
|
|
};
|
|
|
|
|
2014-04-20 08:16:36 -07:00
|
|
|
buildInputs = [openssl expat libevent];
|
2010-02-08 23:28:32 -08:00
|
|
|
|
2011-11-01 15:33:40 -07:00
|
|
|
configureFlags = [ "--with-ssl=${openssl}" "--with-libexpat=${expat}"
|
|
|
|
"--localstatedir=/var" ];
|
2010-02-08 23:28:32 -08:00
|
|
|
|
|
|
|
meta = {
|
2013-10-06 02:49:53 -07:00
|
|
|
description = "Validating, recursive, and caching DNS resolver";
|
2014-04-20 08:16:36 -07:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2010-02-09 02:17:13 -08:00
|
|
|
homepage = http://www.unbound.net;
|
2014-04-20 08:16:36 -07:00
|
|
|
maintainers = [ stdenv.lib.maintainers.emery ];
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2010-02-08 23:28:32 -08:00
|
|
|
};
|
|
|
|
}
|