2019-09-09 14:26:03 -07:00
|
|
|
{stdenv, fetchurl, apacheAnt, jdk, axis2, dbus_java }:
|
2008-07-06 14:38:34 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2019-09-09 14:26:03 -07:00
|
|
|
name = "DisnixWebService-0.9";
|
2010-04-01 07:49:05 -07:00
|
|
|
src = fetchurl {
|
2019-09-09 14:26:03 -07:00
|
|
|
url = https://github.com/svanderburg/DisnixWebService/releases/download/DisnixWebService-0.9/DisnixWebService-0.9.tar.gz;
|
|
|
|
sha256 = "1z7w44bf023c0aqchjfi4mla3qbhsh87mdzx7pqn0sy74cjfgqvl";
|
2010-04-01 07:49:05 -07:00
|
|
|
};
|
2014-04-24 16:44:48 -07:00
|
|
|
buildInputs = [ apacheAnt jdk ];
|
2010-04-01 07:49:05 -07:00
|
|
|
PREFIX = ''''${env.out}'';
|
|
|
|
AXIS2_LIB = "${axis2}/lib";
|
|
|
|
AXIS2_WEBAPP = "${axis2}/webapps/axis2";
|
|
|
|
DBUS_JAVA_LIB = "${dbus_java}/share/java";
|
2019-08-10 03:52:39 -07:00
|
|
|
prePatch = ''
|
2010-04-01 07:49:05 -07:00
|
|
|
sed -i -e "s|#JAVA_HOME=|JAVA_HOME=${jdk}|" \
|
2014-09-25 07:35:58 -07:00
|
|
|
-e "s|#AXIS2_LIB=|AXIS2_LIB=${axis2}/lib|" \
|
|
|
|
scripts/disnix-soap-client
|
2010-04-01 07:49:05 -07:00
|
|
|
'';
|
|
|
|
buildPhase = "ant";
|
|
|
|
installPhase = "ant install";
|
2011-02-18 07:58:08 -08:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A SOAP interface and client for Disnix";
|
2014-06-18 21:19:00 -07:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2011-02-18 07:58:08 -08:00
|
|
|
maintainers = [ stdenv.lib.maintainers.sander ];
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2011-02-18 07:58:08 -08:00
|
|
|
};
|
2008-07-14 07:41:36 -07:00
|
|
|
}
|