1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/development/libraries/xmlrpc-c/default.nix
Bjørn Forsman c41cf22b62 xmlrpc-c: update 1.25.25 -> 1.25.26
From http://xmlrpc-c.sourceforge.net/change_super_stable.html:

  Release 1.25.26, released September 29, 2013.

  Fix interpretation of dateTime.iso8601 variant with timezone
  information. As broken, it would add up to a second to the correct
  datetime or reject the message claiming that it has invalid syntax.
  Always broken (recognition of the timezone variant was introduced in
  Xmlrpc-c 1.20 (September 2009).
2013-11-18 20:49:15 +01:00

28 lines
775 B
Nix

{ stdenv, fetchurl, curl }:
stdenv.mkDerivation rec {
name = "xmlrpc-c-1.25.26";
src = fetchurl {
url = "mirror://sourceforge/xmlrpc-c/${name}.tgz";
sha256 = "1f82vsdkldhk1sfqyh6z0ylp5769x4fx3rnd2hw0c6fhx8swcmgj";
};
buildInputs = [ curl ];
# Build and install the "xmlrpc" tool (like the Debian package)
postInstall = ''
(cd tools/xmlrpc && make && make install)
'';
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 ];
};
}