nixpkgs/pkgs/development/libraries/xmlrpc-c/default.nix

34 lines
884 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, curl, libxml2 }:
stdenv.mkDerivation rec {
2021-03-10 06:14:01 +00:00
name = "xmlrpc-c-1.51.07";
src = fetchurl {
url = "mirror://sourceforge/xmlrpc-c/${name}.tgz";
2021-03-10 06:14:01 +00:00
sha256 = "sha256-hNIK4z+SdYL4IdYcC5GUrvvx15JFkKE/qdpa4WmK3tk=";
};
2015-04-10 00:55:02 +00:00
buildInputs = [ curl libxml2 ];
configureFlags = [
"--enable-libxml2-backend"
];
# Build and install the "xmlrpc" tool (like the Debian package)
postInstall = ''
(cd tools/xmlrpc && make && make install)
'';
hardeningDisable = [ "format" ];
2016-02-20 21:55:18 +00:00
meta = with 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;
2018-04-04 01:30:51 +00:00
platforms = platforms.unix;
maintainers = [ maintainers.bjornfor ];
};
}