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,29 @@
{ lib, fetchurl, buildDunePackage, cstruct-lwt, diet, io-page-unix, logs
, mirage-block, ounit, rresult, uri }:
buildDunePackage rec {
pname = "mirage-block-unix";
version = "2.12.1";
useDune2 = true;
src = fetchurl {
url =
"https://github.com/mirage/mirage-block-unix/releases/download/v${version}/mirage-block-unix-v${version}.tbz";
sha256 = "4fc0ccea3c06c654e149c0f0e1c2a6f19be4e3fe1afd293c6a0dba1b56b3b8c4";
};
minimumOCamlVersion = "4.06";
propagatedBuildInputs = [ cstruct-lwt logs mirage-block rresult uri ];
doCheck = true;
checkInputs = [ diet io-page-unix ounit ];
meta = with lib; {
description = "MirageOS disk block driver for Unix";
homepage = "https://github.com/mirage/mirage-block-unix";
license = licenses.isc;
maintainers = with maintainers; [ ehmry ];
};
}