mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
86f39c218f
Also: - install the "xmlrpc" tool, similar to the Debian/Ubuntu package - add meta.* attributes
28 lines
775 B
Nix
28 lines
775 B
Nix
{ stdenv, fetchurl, curl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "xmlrpc-c-1.25.25";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/xmlrpc-c/${name}.tgz";
|
|
sha256 = "1sk33q4c6liza920rp4w803cfq0a79saq7fg1yjsp8hks7q011ml";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|