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,37 @@
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
}:
stdenv.mkDerivation rec {
pname = "libcdada";
version = "0.3.5";
src = fetchFromGitHub {
owner = "msune";
repo = "libcdada";
rev = "v${version}";
sha256 = "0vcsf3s4fbw2w33jjc8b509kc0xb6ld58l8wfxgqwjqx5icfg1ps";
};
nativeBuildInputs = [
autoreconfHook
];
configureFlags = [
"--without-tests"
"--without-examples"
];
meta = with lib; {
description = "Library for basic data structures in C";
longDescription = ''
Basic data structures in C: list, set, map/hashtable, queue... (libstdc++ wrapper)
'';
homepage = "https://github.com/msune/libcdada";
license = licenses.bsd2;
maintainers = with maintainers; [ _0x4A6F ];
platforms = platforms.unix;
};
}