uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
34
pkgs/development/libraries/xmlrpc-c/default.nix
Normal file
34
pkgs/development/libraries/xmlrpc-c/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ lib, stdenv, fetchurl, curl, libxml2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xmlrpc-c";
|
||||
version = "1.51.07";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/xmlrpc-c/${pname}-${version}.tgz";
|
||||
sha256 = "sha256-hNIK4z+SdYL4IdYcC5GUrvvx15JFkKE/qdpa4WmK3tk=";
|
||||
};
|
||||
|
||||
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 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.unix;
|
||||
maintainers = [ maintainers.bjornfor ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue