diff options
Diffstat (limited to 'pkgs/servers/dns/bind/default.nix')
-rw-r--r-- | pkgs/servers/dns/bind/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/servers/dns/bind/default.nix b/pkgs/servers/dns/bind/default.nix new file mode 100644 index 0000000000000..2ec924366a0e7 --- /dev/null +++ b/pkgs/servers/dns/bind/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchurl, openssl, libtool, perl, libxml2 }: + +let + version = "9.7.2-P3"; +in +stdenv.mkDerivation rec { + + name = "bind-${version}"; + + src = fetchurl { + url = "http://ftp.isc.org/isc/bind9/${version}/${name}.tar.gz"; + sha256 = "0zpvmgs75lisw746wccm2r428dmd4vv5s1pc512lyrmycr3mz56d"; + }; + + buildInputs = [ openssl libtool perl libxml2 ]; + + /* Why --with-libtool? */ + configureFlags = [ "--with-libtool" "--with-openssl=${openssl}" ]; + + meta = { + homepage = http://www.isc.org/software/bind; + description = "ISC BIND: a domain name server"; + maintainers = with stdenv.lib.maintainers; [viric]; + platforms = with stdenv.lib.platforms; linux; + }; +} |