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 {
|
2011-11-01 23:33:40 +01:00
|
|
|
name = "unbound-1.4.13";
|
2010-02-09 08:28:32 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://unbound.net/downloads/${name}.tar.gz";
|
2011-11-01 23:33:40 +01:00
|
|
|
sha256 = "04r379gma1ghr9zjc1fmncpw8kka4f0mpcmrzidsp264aqkxriw3";
|
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
|
|
|
};
|
|
|
|
}
|