2010-10-05 11:39:12 +01:00
|
|
|
{ stdenv, fetchurl }:
|
2008-01-30 09:41:33 +00:00
|
|
|
|
2011-04-14 16:37:04 +01:00
|
|
|
let version = "6.0.32"; 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";
|
2011-04-14 16:37:04 +01:00
|
|
|
sha256 = "505e649d1ffcf746e66be8295c8244a2949349dedf678e9f2a659c4736968c5e";
|
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
|
|
|
}
|