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,28 @@
{ lib, buildDunePackage, fetchurl
, astring, cmdliner, fmt, uuidm, re, stdlib-shims, uutf, ocaml-syntax-shims
}:
buildDunePackage rec {
pname = "alcotest";
version = "1.5.0";
useDune2 = true;
src = fetchurl {
url = "https://github.com/mirage/alcotest/releases/download/${version}/alcotest-js-${version}.tbz";
sha256 = "sha256-VCgZB+AteJld8kbcLhDtGCgoKUrSBZNHoeOhM1SEj2w=";
};
nativeBuildInputs = [ ocaml-syntax-shims ];
propagatedBuildInputs = [ astring cmdliner fmt uuidm re stdlib-shims uutf ];
doCheck = true;
meta = with lib; {
homepage = "https://github.com/mirage/alcotest";
description = "A lightweight and colourful test framework";
license = licenses.isc;
maintainers = [ maintainers.ericbmerritt ];
};
}

View file

@ -0,0 +1,19 @@
{ lib, buildDunePackage, alcotest, logs, ocaml_lwt, fmt
, re, cmdliner
}:
buildDunePackage {
pname = "alcotest-lwt";
inherit (alcotest) version src useDune2;
propagatedBuildInputs = [ alcotest logs ocaml_lwt fmt ];
doCheck = true;
checkInputs = [ re cmdliner ];
meta = alcotest.meta // {
description = "Lwt-based helpers for Alcotest";
};
}

View file

@ -0,0 +1,16 @@
{ lib, buildDunePackage, alcotest, lwt, logs, mirage-clock, duration }:
buildDunePackage {
pname = "alcotest-mirage";
inherit (alcotest) version src useDune2;
propagatedBuildInputs = [ alcotest lwt logs mirage-clock duration ];
doCheck = true;
meta = alcotest.meta // {
description = "Mirage implementation for Alcotest";
maintainers = with lib.maintainers; [ ulrikstrid anmonteiro ];
};
}