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 {
|
2018-02-25 21:26:26 +00:00
|
|
|
name = "DisnixWebService-0.8";
|
2010-04-01 15:49:05 +01:00
|
|
|
src = fetchurl {
|
2018-02-25 21:26:26 +00:00
|
|
|
url = https://github.com/svanderburg/DisnixWebService/files/1756703/DisnixWebService-0.8.tar.gz;
|
|
|
|
sha256 = "05hmyz17rmqlph0i321kmhabnpw84kqz32lgc5cd4shxyzsal9hz";
|
2010-04-01 15:49:05 +01:00
|
|
|
};
|
2014-04-25 00:44:48 +01:00
|
|
|
buildInputs = [ apacheAnt jdk ];
|
2010-04-01 15:49:05 +01:00
|
|
|
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}|" \
|
2014-09-25 15:35:58 +01:00
|
|
|
-e "s|#AXIS2_LIB=|AXIS2_LIB=${axis2}/lib|" \
|
|
|
|
scripts/disnix-soap-client
|
2010-04-01 15:49:05 +01:00
|
|
|
'';
|
|
|
|
buildPhase = "ant";
|
|
|
|
installPhase = "ant install";
|
2011-02-18 15:58:08 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A SOAP interface and client for Disnix";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2011-02-18 15:58:08 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.sander ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2011-02-18 15:58:08 +00:00
|
|
|
};
|
2008-07-14 15:41:36 +01:00
|
|
|
}
|