2010-04-01 15:49:05 +01:00
|
|
|
{stdenv, fetchurl, apacheAnt, jdk, axis2, dbus_java}:
|
2008-07-06 22:38:34 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-11-01 17:33:24 +00:00
|
|
|
name = "DisnixWebService-0.2";
|
2010-04-01 15:49:05 +01:00
|
|
|
src = fetchurl {
|
2011-02-18 15:58:08 +00:00
|
|
|
url = http://hydra.nixos.org/build/910953/download/4/DisnixWebService-0.2.tar.bz2;
|
|
|
|
sha256 = "1469l2ykhdjmplkw01x64f7aq9rms05ig9sagyb8l2zksjm6lla8";
|
2010-04-01 15:49:05 +01:00
|
|
|
};
|
|
|
|
buildInputs = [ apacheAnt ];
|
|
|
|
PREFIX = ''''${env.out}'';
|
|
|
|
AXIS2_LIB = "${axis2}/lib";
|
|
|
|
AXIS2_WEBAPP = "${axis2}/webapps/axis2";
|
|
|
|
DBUS_JAVA_LIB = "${dbus_java}/share/java";
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e "s|#JAVA_HOME=|JAVA_HOME=${jdk}|" \
|
|
|
|
-e "s|#AXIS2_LIB=|AXIS2_LIB=${axis2}/lib|" \
|
|
|
|
scripts/disnix-soap-client
|
|
|
|
'';
|
|
|
|
buildPhase = "ant";
|
|
|
|
installPhase = "ant install";
|
2011-02-18 15:58:08 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A SOAP interface and client for Disnix";
|
|
|
|
license = "MIT";
|
|
|
|
maintainers = [ stdenv.lib.maintainers.sander ];
|
|
|
|
};
|
2008-07-14 15:41:36 +01:00
|
|
|
}
|