diff options
Diffstat (limited to 'pkgs/servers/dns')
-rw-r--r-- | pkgs/servers/dns/bind/9.5.0.nix | 19 | ||||
-rw-r--r-- | pkgs/servers/dns/bind/default.nix | 26 |
2 files changed, 26 insertions, 19 deletions
diff --git a/pkgs/servers/dns/bind/9.5.0.nix b/pkgs/servers/dns/bind/9.5.0.nix deleted file mode 100644 index b6361864d10b2..0000000000000 --- a/pkgs/servers/dns/bind/9.5.0.nix +++ /dev/null @@ -1,19 +0,0 @@ - -args : with args; -rec { - src = fetchurl { - url = http://ftp.isc.org/isc/bind9/9.5.0/bind-9.5.0.tar.gz; - sha256 = "0qfxipj6v9hs9plx388ysnyvpkiamgxpsq8xqzw9hliag4nc1d7v"; - }; - - buildInputs = [openssl libtool]; - configureFlags = ["--with-libtool" "--with-openssl=${openssl}"]; - - /* doConfigure should be specified separately */ - phaseNames = ["doConfigure" "doMakeInstall"]; - - name = "bind-9.5.0"; - meta = { - description = "ISC BIND: a domain name server"; - }; -} 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; + }; +} |