mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
Merge pull request #3704 from sfultong/upstream-master
tomcat: update to upstream master
This commit is contained in:
commit
3ad91106f1
@ -5,7 +5,7 @@ with lib;
|
||||
let
|
||||
|
||||
cfg = config.services.tomcat;
|
||||
tomcat = pkgs.tomcat6;
|
||||
tomcat = pkgs.tomcat7;
|
||||
in
|
||||
|
||||
{
|
||||
|
@ -1,23 +1,6 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
let version = "6.0.39"; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "apache-tomcat-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://apache/tomcat/tomcat-6/v${version}/bin/${name}.tar.gz";
|
||||
import ./recent.nix
|
||||
{
|
||||
versionMajor = "6";
|
||||
versionMinor = "0.39";
|
||||
sha256 = "19qix6affhc252n03smjf482drg3nxd27shni1gvhphgj3zfmgfy";
|
||||
};
|
||||
|
||||
installPhase =
|
||||
''
|
||||
mkdir $out
|
||||
mv * $out
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://tomcat.apache.org/;
|
||||
description = "An implementation of the Java Servlet and JavaServer Pages technologies";
|
||||
};
|
||||
}
|
||||
|
6
pkgs/servers/http/tomcat/7.0.nix
Normal file
6
pkgs/servers/http/tomcat/7.0.nix
Normal file
@ -0,0 +1,6 @@
|
||||
import ./recent.nix
|
||||
{
|
||||
versionMajor = "7";
|
||||
versionMinor = "0.55";
|
||||
sha256 = "c20934fda63bc7311e2d8e067d67f886890c8be72280425c5f6f8fdd7a376c15";
|
||||
}
|
6
pkgs/servers/http/tomcat/8.0.nix
Normal file
6
pkgs/servers/http/tomcat/8.0.nix
Normal file
@ -0,0 +1,6 @@
|
||||
import ./recent.nix
|
||||
{
|
||||
versionMajor = "8";
|
||||
versionMinor = "0.9";
|
||||
sha256 = "5ea3c8260088ee4fd223a532a4b0c23a10e549c34705e2f190279a1a7f1f83d9";
|
||||
}
|
24
pkgs/servers/http/tomcat/recent.nix
Normal file
24
pkgs/servers/http/tomcat/recent.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ versionMajor, versionMinor, sha256 }:
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
let version = "${versionMajor}.${versionMinor}"; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "apache-tomcat-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://apache/tomcat/tomcat-${versionMajor}/v${version}/bin/${name}.tar.gz";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
installPhase =
|
||||
''
|
||||
mkdir $out
|
||||
mv * $out
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://tomcat.apache.org/;
|
||||
description = "An implementation of the Java Servlet and JavaServer Pages technologies";
|
||||
};
|
||||
}
|
@ -7098,6 +7098,10 @@ let
|
||||
|
||||
tomcat6 = callPackage ../servers/http/tomcat/6.0.nix { };
|
||||
|
||||
tomcat7 = callPackage ../servers/http/tomcat/7.0.nix { };
|
||||
|
||||
tomcat8 = callPackage ../servers/http/tomcat/8.0.nix { };
|
||||
|
||||
tomcat_mysql_jdbc = callPackage ../servers/http/tomcat/jdbc/mysql { };
|
||||
|
||||
axis2 = callPackage ../servers/http/tomcat/axis2 { };
|
||||
|
Loading…
Reference in New Issue
Block a user