lol
1{ stdenv, fetchurl, curl, libxml2 }:
2
3stdenv.mkDerivation rec {
4 name = "xmlrpc-c-1.33.17";
5
6 src = fetchurl {
7 url = "mirror://sourceforge/xmlrpc-c/${name}.tgz";
8 sha256 = "0makq1zpfqnrj6xx1xc7wi4mh115ri9p4yz2rbvjhj0il4y8l4ah";
9 };
10
11 buildInputs = [ curl libxml2 ];
12
13 configureFlags = [
14 "--enable-libxml2-backend"
15 ];
16
17 # Build and install the "xmlrpc" tool (like the Debian package)
18 postInstall = ''
19 (cd tools/xmlrpc && make && make install)
20 '';
21
22 hardeningDisable = [ "format" ];
23
24 meta = with stdenv.lib; {
25 description = "A lightweight RPC library based on XML and HTTP";
26 homepage = http://xmlrpc-c.sourceforge.net/;
27 # <xmlrpc-c>/doc/COPYING also lists "Expat license",
28 # "ABYSS Web Server License" and "Python 1.5.2 License"
29 license = licenses.bsd3;
30 platforms = platforms.linux;
31 maintainers = [ maintainers.bjornfor ];
32 };
33}