1 { lib, stdenv, fetchurl, curl, libxml2 }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/xmlrpc-c/${pname}-${version}.tgz";
9 sha256 = "sha256-hNIK4z+SdYL4IdYcC5GUrvvx15JFkKE/qdpa4WmK3tk=";
12 buildInputs = [ curl libxml2 ];
15 "--enable-libxml2-backend"
18 # Build and install the "xmlrpc" tool (like the Debian package)
20 (cd tools/xmlrpc && make && make install)
23 hardeningDisable = [ "format" ];
26 description = "A lightweight RPC library based on XML and HTTP";
27 homepage = "https://xmlrpc-c.sourceforge.net/";
28 # <xmlrpc-c>/doc/COPYING also lists "Expat license",
29 # "ABYSS Web Server License" and "Python 1.5.2 License"
30 license = licenses.bsd3;
31 platforms = platforms.unix;
32 maintainers = [ maintainers.bjornfor ];