Merge pull request #50805 from r-ryantm/auto-update/axis2
axis2: 1.6.4 -> 1.7.9
This commit is contained in:
commit
5f01a2586a
@ -2,11 +2,11 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "axis2-${version}";
|
||||
version = "1.6.4";
|
||||
version = "1.7.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://apache.proserve.nl/axis/axis2/java/core/${version}/${name}-bin.zip";
|
||||
sha256 = "12ir706dn95567j6lkxdwrh28vnp6292h59qwjyqjm7ckglkmgyr";
|
||||
sha256 = "0dh0s9bfh95wmmw8nyf2yw95biq7d9zmrbg8k4vzcyz1if228lac";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip apacheAnt jdk ];
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, apacheAnt, jdk, axis2, dbus_java}:
|
||||
{stdenv, fetchurl, apacheAnt, jdk, axis2, dbus_java, fetchpatch }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "DisnixWebService-0.8";
|
||||
@ -11,7 +11,14 @@ stdenv.mkDerivation {
|
||||
AXIS2_LIB = "${axis2}/lib";
|
||||
AXIS2_WEBAPP = "${axis2}/webapps/axis2";
|
||||
DBUS_JAVA_LIB = "${dbus_java}/share/java";
|
||||
patchPhase = ''
|
||||
patches = [
|
||||
# Safe to remove once https://github.com/svanderburg/DisnixWebService/pull/1 is merged
|
||||
(fetchpatch {
|
||||
url = "https://github.com/mmahut/DisnixWebService/commit/cf07918b8c81b4ce01e0b489c1b5a3ef9c9a1cd6.patch";
|
||||
sha256 = "15zi1l69wzgwvvqx4492s7l444gfvc9vcm7ckgif4b6cvp837brn";
|
||||
})
|
||||
];
|
||||
prePatch = ''
|
||||
sed -i -e "s|#JAVA_HOME=|JAVA_HOME=${jdk}|" \
|
||||
-e "s|#AXIS2_LIB=|AXIS2_LIB=${axis2}/lib|" \
|
||||
scripts/disnix-soap-client
|
||||
|
Loading…
Reference in New Issue
Block a user