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,25 @@
{ lib, stdenv, fetchgit }:
stdenv.mkDerivation {
pname = "opkg-utils";
version = "unstable-2014-10-30";
# No releases, only a git tree
src = fetchgit {
url = "git://git.yoctoproject.org/opkg-utils";
rev = "762d9dadce548108d4204c2113461a7dd6f57e60";
sha256 = "09jfkq2p5wv0ifxkw62f4m7pkvpaalh74j2skymi8lh4268krfwz";
};
preBuild = ''
makeFlagsArray+=(PREFIX="$out")
'';
meta = with lib; {
description = "Helper scripts for use with the opkg package manager";
homepage = "http://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/";
license = licenses.gpl2;
platforms = platforms.all;
maintainers = [ maintainers.bjornfor ];
};
}