nixpkgs/pkgs/development/libraries/xmlrpc-c/default.nix
Ryan Mulligan 90c143a9b9 xmlrpc_c: 1.33.17 -> 1.39.12
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/4cdb0kvm05d8390pg3agfy7hjm9ygd9s-xmlrpc-c-1.39.12/bin/xmlrpc-c-config --help` got 0 exit code
- ran `/nix/store/4cdb0kvm05d8390pg3agfy7hjm9ygd9s-xmlrpc-c-1.39.12/bin/xmlrpc-c-config --version` and found version 1.39.12
- ran `/nix/store/4cdb0kvm05d8390pg3agfy7hjm9ygd9s-xmlrpc-c-1.39.12/bin/xmlrpc-c-config --help` and found version 1.39.12
- found 1.39.12 with grep in /nix/store/4cdb0kvm05d8390pg3agfy7hjm9ygd9s-xmlrpc-c-1.39.12
- directory tree listing: https://gist.github.com/02ef530309005ffeedbc4af16ffd467c
2018-03-25 01:44:03 -05:00

34 lines
886 B
Nix

{ stdenv, fetchurl, curl, libxml2 }:
stdenv.mkDerivation rec {
name = "xmlrpc-c-1.39.12";
src = fetchurl {
url = "mirror://sourceforge/xmlrpc-c/${name}.tgz";
sha256 = "026fh7w7y3q9pvxd09i5d4hq3l6gd81n9k19yq4zwbc398kg6c6q";
};
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" ];
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 ];
};
}