@@ -1,4 +1,6 @@
1−{ mkDerivation, lib, fetchurl
1+{ mkDerivation
2+, lib
3+, fetchurl
24, cmake
35, qtbase
46}:
@@ -6,25 +8,18 @@
68mkDerivation rec {
79 pname = "kdsoap";
810 version = "2.0.0";
9− meta = {
10− description = "A Qt-based client-side and server-side SOAP component";
11− longDescription = ''
12− KD Soap is a Qt-based client-side and server-side SOAP component.
1311
14− It can be used to create client applications for web services and also
15− provides the means to create web services without the need for any further
16− component such as a dedicated web server.
17− '';
18− license = with lib.licenses; [ gpl2 gpl3 lgpl21 ];
19− maintainers = [ lib.maintainers.ttuegel ];
20− };
2112 src = fetchurl {
2213 url = "https://github.com/KDAB/KDSoap/releases/download/kdsoap-${version}/kdsoap-${version}.tar.gz";
2314 sha256 = "sha256-0YljEE+m99ArBEYxzdvnjxj3DgbGB69oDHrOBNbPBO4=";
2415 };
16+
2517 outputs = [ "out" "dev" ];
18+
2619 nativeBuildInputs = [ cmake ];
20+
2721 buildInputs = [ qtbase ];
22+
2823 postInstall = ''
2924 moveToOutput bin/kdwsdl2cpp "$dev"
3025 sed -i "$out/lib/cmake/KDSoap/KDSoapTargets.cmake" \
@@ -32,4 +27,17 @@ mkDerivation rec {
3227 sed -i "$out/lib/cmake/KDSoap/KDSoapTargets-release.cmake" \
3328 -e "s@$out/bin@$dev/bin@"
3429 '';
30+
31+ meta = with lib; {
32+ description = "A Qt-based client-side and server-side SOAP component";
33+ longDescription = ''
34+ KD Soap is a Qt-based client-side and server-side SOAP component.
35+
36+ It can be used to create client applications for web services and also
37+ provides the means to create web services without the need for any further
38+ component such as a dedicated web server.
39+ '';
40+ license = with licenses; [ gpl2 gpl3 lgpl21 ];
41+ maintainers = [ maintainers.ttuegel ];
42+ };
3543}