diff options
-rw-r--r-- | pkgs/servers/http/tomcat/6.0.nix | 15 | ||||
-rw-r--r-- | pkgs/servers/http/tomcat/builder-6.0.sh | 6 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
3 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/servers/http/tomcat/6.0.nix b/pkgs/servers/http/tomcat/6.0.nix new file mode 100644 index 0000000000000..32a3dedde472c --- /dev/null +++ b/pkgs/servers/http/tomcat/6.0.nix @@ -0,0 +1,15 @@ +{stdenv, fetchurl, jdk}: + +stdenv.mkDerivation { + + name = "apache-tomcat-6.0.14"; + + builder = ./builder-6.0.sh; + + src = fetchurl { + url = http://apache.mirrors.webazilla.nl/tomcat/tomcat-6/v6.0.14/bin/apache-tomcat-6.0.14.tar.gz; + md5 = "3b18ff250d8172737c4f67f11631f68a"; + }; + + inherit jdk; +} diff --git a/pkgs/servers/http/tomcat/builder-6.0.sh b/pkgs/servers/http/tomcat/builder-6.0.sh new file mode 100644 index 0000000000000..ae2f934af5961 --- /dev/null +++ b/pkgs/servers/http/tomcat/builder-6.0.sh @@ -0,0 +1,6 @@ +source $stdenv/setup + +tar zxf $src + +mkdir $out +mv apache-tomcat*/* $out diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3815255b905ee..b4b731b7b2e7c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3224,6 +3224,10 @@ rec { inherit fetchurl stdenv jdk; }; + tomcat6 = import ../servers/http/tomcat/6.0.nix { + inherit fetchurl stdenv jdk; + }; + vsftpd = import ../servers/ftp/vsftpd { inherit fetchurl openssl stdenv libcap pam; }; |