mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
aff1f4ab94
The following parameters are now available: * hardeningDisable To disable specific hardening flags * hardeningEnable To enable specific hardening flags Only the cc-wrapper supports this right now, but these may be reused by other wrappers, builders or setup hooks. cc-wrapper supports the following flags: * fortify * stackprotector * pie (disabled by default) * pic * strictoverflow * format * relro * bindnow
34 lines
886 B
Nix
34 lines
886 B
Nix
{ stdenv, fetchurl, curl, libxml2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "xmlrpc-c-1.33.17";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/xmlrpc-c/${name}.tgz";
|
|
sha256 = "0makq1zpfqnrj6xx1xc7wi4mh115ri9p4yz2rbvjhj0il4y8l4ah";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|