2017-07-19 03:52:36 +00:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, unzip, m4, bison, flex, openssl, zlib }:
|
2010-01-27 12:12:35 +00:00
|
|
|
|
2017-07-19 03:52:36 +00:00
|
|
|
let
|
|
|
|
majorVersion = "2.8";
|
|
|
|
|
|
|
|
in stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "gsoap";
|
2017-09-11 14:24:36 +00:00
|
|
|
version = "${majorVersion}.53";
|
2010-01-27 12:12:35 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-07-19 03:52:36 +00:00
|
|
|
url = "mirror://sourceforge/project/gsoap2/gsoap-${majorVersion}/gsoap_${version}.zip";
|
2017-09-11 14:24:36 +00:00
|
|
|
sha256 = "0n35dh32gidi65c36cwjd91304pwiabfblvd64kg21djpjl06qcr";
|
2010-01-27 12:12:35 +00:00
|
|
|
};
|
|
|
|
|
2017-07-19 03:52:36 +00:00
|
|
|
buildInputs = [ openssl zlib ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook bison flex m4 unzip ];
|
|
|
|
# Parallel building doesn't work as of 2.8.49
|
|
|
|
enableParallelBuilding = false;
|
|
|
|
|
|
|
|
# Future versions of automake require subdir-objects if the source is structured this way
|
|
|
|
# As of 2.8.49 (maybe earlier) this is needed to silence warnings
|
|
|
|
prePatch = ''
|
|
|
|
substituteInPlace configure.ac \
|
|
|
|
--replace 'AM_INIT_AUTOMAKE([foreign])' 'AM_INIT_AUTOMAKE([foreign subdir-objects])'
|
|
|
|
'';
|
2013-09-04 19:18:48 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "C/C++ toolkit for SOAP web services and XML-based applications";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.cs.fsu.edu/~engelen/soap.html";
|
2013-09-04 19:18:48 +00:00
|
|
|
# gsoap is dual/triple licensed (see homepage for details):
|
|
|
|
# 1. gSOAP Public License 1.3 (based on Mozilla Public License 1.1).
|
|
|
|
# Components NOT covered by the gSOAP Public License are:
|
|
|
|
# - wsdl2h tool and its source code output,
|
|
|
|
# - soapcpp2 tool and its source code output,
|
|
|
|
# - UDDI code,
|
|
|
|
# - the webserver example code in gsoap/samples/webserver,
|
|
|
|
# - and several example applications in the gsoap/samples directory.
|
|
|
|
# 2. GPLv2 covers all of the software
|
|
|
|
# 3. Proprietary commercial software development license (removes GPL
|
|
|
|
# restrictions)
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2017-07-19 03:52:36 +00:00
|
|
|
maintainers = with maintainers; [ bjornfor ];
|
2010-01-27 12:12:35 +00:00
|
|
|
};
|
|
|
|
}
|