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,26 @@
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "fast-cpp-csv-parser";
version = "2021-01-03";
src = fetchFromGitHub {
owner = "ben-strasser";
repo = pname;
rev = "75600d0b77448e6c410893830df0aec1dbacf8e3";
sha256 = "04kalwgsr8khqr1j5j13vzwaml268c5dvc9wfcwfs13wp3snqwf2";
};
installPhase = ''
mkdir -p $out/lib/pkgconfig $out/include
cp -r *.h $out/include/
substituteAll ${./fast-cpp-csv-parser.pc.in} $out/lib/pkgconfig/fast-cpp-csv-parser.pc
'';
meta = with lib; {
description = "A small, easy-to-use and fast header-only library for reading comma separated value (CSV) files";
homepage = "https://github.com/ben-strasser/fast-cpp-csv-parser";
license = licenses.bsd3;
maintainers = with maintainers; [ bhipple ];
};
}