2015-04-10 00:55:02 +00:00
|
|
|
{ stdenv, fetchurl, curl, libxml2 }:
|
2012-02-23 11:27:47 +00:00
|
|
|
|
2013-08-26 20:42:46 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-05-27 21:25:11 +00:00
|
|
|
name = "xmlrpc-c-1.51.06";
|
2013-08-26 20:42:46 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/xmlrpc-c/${name}.tgz";
|
2020-05-27 21:25:11 +00:00
|
|
|
sha256 = "1l4zz22q10081vr06b8sii0l3krr64xyiywz6rcladw8kiyxip06";
|
2013-08-26 20:42:46 +00:00
|
|
|
};
|
2012-02-23 11:27:47 +00:00
|
|
|
|
2015-04-10 00:55:02 +00:00
|
|
|
buildInputs = [ curl libxml2 ];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-libxml2-backend"
|
|
|
|
];
|
2012-02-23 11:27:47 +00:00
|
|
|
|
2013-08-26 20:42:46 +00:00
|
|
|
# Build and install the "xmlrpc" tool (like the Debian package)
|
|
|
|
postInstall = ''
|
|
|
|
(cd tools/xmlrpc && make && make install)
|
|
|
|
'';
|
2012-02-23 11:27:47 +00:00
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-20 21:55:18 +00:00
|
|
|
|
2013-08-26 20:42:46 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A lightweight RPC library based on XML and HTTP";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://xmlrpc-c.sourceforge.net/";
|
2013-08-26 20:42:46 +00:00
|
|
|
# <xmlrpc-c>/doc/COPYING also lists "Expat license",
|
|
|
|
# "ABYSS Web Server License" and "Python 1.5.2 License"
|
|
|
|
license = licenses.bsd3;
|
2018-04-04 01:30:51 +00:00
|
|
|
platforms = platforms.unix;
|
2013-08-26 20:42:46 +00:00
|
|
|
maintainers = [ maintainers.bjornfor ];
|
2012-02-23 11:27:47 +00:00
|
|
|
};
|
|
|
|
}
|