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,32 @@
{ lib, fetchFromGitLab, buildDunePackage, zarith, alcotest }:
buildDunePackage rec {
pname = "ff";
version = "0.4.0";
src = fetchFromGitLab {
owner = "dannywillems";
repo = "ocaml-ff";
rev = version;
sha256 = "1ik29srzkd0pl48p1si9p1c4f8vmx5rgm02yv2arj3vg0a1nfhdv";
};
useDune2 = true;
propagatedBuildInputs = [
zarith
];
checkInputs = [
alcotest
];
doCheck = true;
meta = {
homepage = "https://gitlab.com/dannywillems/ocaml-ff";
description = "OCaml implementation of Finite Field operations";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}

View file

@ -0,0 +1,21 @@
{ lib, fetchFromGitLab, buildDunePackage, zarith, ff-sig, alcotest }:
buildDunePackage {
pname = "ff-pbt";
inherit (ff-sig) version src doCheck useDune2;
minimalOCamlVersion = "4.08";
checkInputs = [
alcotest
];
propagatedBuildInputs = [
zarith
ff-sig
];
meta = ff-sig.meta // {
description = "Property based testing library for finite fields over the package ff-sig";
};
}

View file

@ -0,0 +1,27 @@
{ lib, fetchFromGitLab, buildDunePackage, zarith }:
buildDunePackage rec {
pname = "ff-sig";
version = "0.6.1";
src = fetchFromGitLab {
owner = "dannywillems";
repo = "ocaml-ff";
rev = version;
sha256 = "0p42ivyfbn1pwm18773y4ga9cm64ysha0rplzvrnhszg01anarc0";
};
useDune2 = true;
propagatedBuildInputs = [
zarith
];
doCheck = true;
meta = {
homepage = "https://gitlab.com/dannywillems/ocaml-ff";
description = "Minimal finite field signatures";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}