diff --git a/pkgs/servers/http/tomcat/axis2/builder.sh b/pkgs/servers/http/tomcat/axis2/builder.sh new file mode 100644 index 000000000000..e97c8c77b60c --- /dev/null +++ b/pkgs/servers/http/tomcat/axis2/builder.sh @@ -0,0 +1,8 @@ +buildInputs="$unzip $apacheAnt $jdk" +source $stdenv/setup + +unzip $src +cd axis2-*/webapp +ant +ensureDir $out/webapps +cp ../dist/axis2.war $out/webapps diff --git a/pkgs/servers/http/tomcat/axis2/default.nix b/pkgs/servers/http/tomcat/axis2/default.nix new file mode 100644 index 000000000000..aeb103c0e7d6 --- /dev/null +++ b/pkgs/servers/http/tomcat/axis2/default.nix @@ -0,0 +1,15 @@ +{stdenv, fetchurl, apacheAnt, jdk, unzip}: + +stdenv.mkDerivation { + + name = "axis2-1.3"; + + builder = ./builder.sh; + + src = fetchurl { + url = http://apache.hippo.nl/ws/axis2/1_3/axis2-1.3-bin.zip; + md5 = "ab2bc77452288ebf80d861270734a83e"; + }; + + inherit apacheAnt jdk unzip; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 71baf947d3ad..4278b7eb258d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3266,6 +3266,10 @@ rec { inherit fetchurl stdenv jdk; }; + axis2 = import ../servers/http/tomcat/axis2 { + inherit fetchurl stdenv jdk apacheAnt unzip; + }; + vsftpd = import ../servers/ftp/vsftpd { inherit fetchurl openssl stdenv libcap pam; };