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,19 @@
{ buildDunePackage, lib, fetchurl, ocaml }:
buildDunePackage rec {
pname = "stdlib-shims";
version = "0.3.0";
src = fetchurl {
url = "https://github.com/ocaml/${pname}/releases/download/${version}/${pname}-${version}.tbz";
sha256 = "0jnqsv6pqp5b5g7lcjwgd75zqqvcwcl5a32zi03zg1kvj79p5gxs";
};
useDune2 = lib.versionAtLeast ocaml.version "4.08";
minimumOCamlVersion = "4.02";
doCheck = true;
meta = {
description = "Shims for forward-compatibility between versions of the OCaml standard library";
homepage = "https://github.com/ocaml/stdlib-shims";
inherit (ocaml.meta) license;
maintainers = [ lib.maintainers.vbgl ];
};
}