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,30 @@
{ lib, stdenv, fetchFromGitHub, cmake, libminc, netpbm }:
stdenv.mkDerivation rec {
pname = "bicpl";
version = "unstable-2020-10-15";
# current master is significantly ahead of most recent release, so use Git version:
src = fetchFromGitHub {
owner = "BIC-MNI";
repo = pname;
rev = "a58af912a71a4c62014975b89ef37a8e72de3c9d";
sha256 = "0iw0pmr8xrifbx5l8a0xidfqbm1v8hwzqrw0lcmimxlzdihyri0g";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libminc netpbm ];
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/cmake" ];
doCheck = false;
# internal_volume_io.h: No such file or directory
meta = with lib; {
homepage = "https://github.com/BIC-MNI/bicpl";
description = "Brain Imaging Centre programming library";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.unix;
license = licenses.free;
};
}