From 3d7f5dd7d631fb9dca53eda482b2eced694d2e1b Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Thu, 12 Jun 2008 18:10:08 +0000 Subject: [PATCH] Added BIND svn path=/nixpkgs/trunk/; revision=12064 --- pkgs/servers/dns/bind/9.5.0.nix | 19 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/servers/dns/bind/9.5.0.nix diff --git a/pkgs/servers/dns/bind/9.5.0.nix b/pkgs/servers/dns/bind/9.5.0.nix new file mode 100644 index 000000000000..9e73895d8d91 --- /dev/null +++ b/pkgs/servers/dns/bind/9.5.0.nix @@ -0,0 +1,19 @@ + +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-" + version; + meta = { + description = "ISC BIND: a domain name server"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 50b0c5b31fb4..de417766693f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4306,6 +4306,10 @@ let pkgs = rec { db4Support = true; }; + bind = builderDefsPackage (selectVersion ../servers/dns/bind "9.5.0") { + inherit openssl libtool; + } null; + dictFun = lib.sumArgs (selectVersion ../servers/dict "1.9.15") { inherit builderDefs which; flex=flex2534;