2010-10-05 11:39:12 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2008-01-30 09:41:33 +00:00
|
|
|
|
2010-10-05 11:39:12 +01:00
|
|
|
let version = "6.0.29"; in
|
2008-01-30 09:41:33 +00:00
|
|
|
|
2010-10-05 11:39:12 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "apache-tomcat-${version}";
|
2008-01-30 09:41:33 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-10-05 11:39:12 +01:00
|
|
|
url = "mirror://apache/tomcat/tomcat-6/v${version}/bin/${name}.tar.gz";
|
|
|
|
sha256 = "0v96wmd4fnk3qskw32k8mb77f7yssqqinsrf9sir672l5ggmmcjc";
|
2008-01-30 09:41:33 +00:00
|
|
|
};
|
|
|
|
|
2010-10-05 11:39:12 +01:00
|
|
|
installPhase =
|
|
|
|
''
|
|
|
|
mkdir $out
|
|
|
|
mv * $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://tomcat.apache.org/;
|
|
|
|
description = "An implementation of the Java Servlet and JavaServer Pages technologies";
|
|
|
|
};
|
2008-01-30 09:41:33 +00:00
|
|
|
}
|