2010-10-05 12:39:12 +02:00
|
|
|
{ stdenv, fetchurl }:
|
2008-01-30 10:41:33 +01:00
|
|
|
|
2011-04-14 17:37:04 +02:00
|
|
|
let version = "6.0.32"; in
|
2008-01-30 10:41:33 +01:00
|
|
|
|
2010-10-05 12:39:12 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "apache-tomcat-${version}";
|
2008-01-30 10:41:33 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-10-05 12:39:12 +02:00
|
|
|
url = "mirror://apache/tomcat/tomcat-6/v${version}/bin/${name}.tar.gz";
|
2011-04-14 17:37:04 +02:00
|
|
|
sha256 = "505e649d1ffcf746e66be8295c8244a2949349dedf678e9f2a659c4736968c5e";
|
2008-01-30 10:41:33 +01:00
|
|
|
};
|
|
|
|
|
2010-10-05 12:39:12 +02: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 10:41:33 +01:00
|
|
|
}
|