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:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ stdenv, lib, fetchFromGitHub, cmake, boost, libxml2, minizip, readline }:
stdenv.mkDerivation {
pname = "collada-dom";
version = "unstable-2020-01-03";
src = fetchFromGitHub {
owner = "rdiankov";
repo = "collada-dom";
rev = "c1e20b7d6ff806237030fe82f126cb86d661f063";
sha256 = "sha256-A1ne/D6S0shwCzb9spd1MoSt/238HWA8dvgd+DC9cXc=";
};
postInstall = ''
chmod +w -R $out
ln -s $out/include/*/* $out/include
'';
nativeBuildInputs = [ cmake ];
buildInputs = [
boost
libxml2
minizip
readline
];
meta = with lib; {
description = "Lightweight version of collada-dom, with only the parser.";
homepage = "https://github.com/rdiankov/collada-dom";
license = licenses.mit;
maintainers = with maintainers; [ marius851000 ];
platforms = platforms.all;
};
}