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
39
pkgs/development/libraries/xsd/default.nix
Normal file
39
pkgs/development/libraries/xsd/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib, stdenv, fetchurl, xercesc }:
|
||||
|
||||
let
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xsd";
|
||||
version = "4.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://codesynthesis.com/download/xsd/4.0/xsd-4.0.0+dep.tar.bz2";
|
||||
sha256 = "05wqhmd5cd4pdky8i8qysnh96d2h16ly8r73whmbxkajiyf2m9gc";
|
||||
};
|
||||
|
||||
patches = [ ./xsdcxx.patch ];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildFlags = [
|
||||
"LDFLAGS=-L${xercesc}/lib"
|
||||
"CPPFLAGS=-I${xercesc}/include"
|
||||
];
|
||||
installFlags = buildFlags ++ [
|
||||
"install_prefix=${placeholder "out"}"
|
||||
];
|
||||
|
||||
buildInputs = [ xercesc ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.codesynthesis.com/products/xsd";
|
||||
description = "An open-source, cross-platform W3C XML Schema to C++ data binding compiler";
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.jagajaga ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue