gsoap: 2.8.108 -> 2.8.142 (#526594)

This commit is contained in:
Bjørn Forsman
2026-06-01 16:55:36 +00:00
committed by GitHub
+3 -8
View File
@@ -13,17 +13,16 @@
}:
let
majorVersion = "2.8";
isCross = stdenv.hostPlatform != stdenv.buildPlatform;
in
stdenv.mkDerivation (finalAttrs: {
pname = "gsoap";
version = "${majorVersion}.108";
version = "2.8.142";
src = fetchurl {
url = "mirror://sourceforge/project/gsoap2/gsoap-${majorVersion}/gsoap_${finalAttrs.version}.zip";
sha256 = "0x58bwlclk7frv03kg8bp0pm7zl784samvbzskrnr7dl5v866nvl";
url = "mirror://sourceforge/gsoap2/gsoap_${finalAttrs.version}.zip";
hash = "sha256-bXGWvWWR7Cl3R0xoHjUbSjPrXC1kyeLmcnsATzMLN1I=";
};
buildInputs = [
@@ -40,11 +39,7 @@ stdenv.mkDerivation (finalAttrs: {
# 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])'
${lib.optionalString isCross ''
substituteInPlace gsoap/wsdl/Makefile.am \
--replace-fail 'SOAP=$(top_builddir)/gsoap/src/soapcpp2$(EXEEXT)' 'SOAP=${lib.getExe' buildPackages.gsoap "soapcpp2"}'