2013-08-26 21:42:46 +01:00
|
|
|
{ stdenv, fetchurl, curl }:
|
2012-02-23 11:27:47 +00:00
|
|
|
|
2013-08-26 21:42:46 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2014-12-02 20:37:30 +00:00
|
|
|
name = "xmlrpc-c-1.25.30";
|
2013-08-26 21:42:46 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/xmlrpc-c/${name}.tgz";
|
2014-12-02 20:37:30 +00:00
|
|
|
sha256 = "161gj237baagy5jaa08m54zfyvilb19gql0i5c9ysl3xqm7fvrla";
|
2013-08-26 21:42:46 +01:00
|
|
|
};
|
2012-02-23 11:27:47 +00:00
|
|
|
|
|
|
|
buildInputs = [ curl ];
|
|
|
|
|
2013-08-26 21:42:46 +01: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
|
|
|
|
2013-08-26 21:42:46 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A lightweight RPC library based on XML and HTTP";
|
|
|
|
homepage = http://xmlrpc-c.sourceforge.net/;
|
|
|
|
# <xmlrpc-c>/doc/COPYING also lists "Expat license",
|
|
|
|
# "ABYSS Web Server License" and "Python 1.5.2 License"
|
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
2012-02-23 11:27:47 +00:00
|
|
|
};
|
|
|
|
}
|