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,24 @@
{ lib, buildDunePackage, fetchFromGitLab, yojson }:
buildDunePackage rec {
pname = "ocf";
version = "0.8.0";
useDune2 = true;
minimalOCamlVersion = "4.03";
src = fetchFromGitLab {
domain = "framagit.org";
owner = "zoggy";
repo = "ocf";
rev = version;
sha256 = "sha256:00ap3q5yjqmpk87lxqv1j2wkc7583ynhjr1jjrfn9r0j2h9pfd60";
};
propagatedBuildInputs = [ yojson ];
meta = with lib; {
description = "OCaml library to read and write configuration options in JSON syntax";
homepage = "https://zoggy.frama.io/ocf/";
license = licenses.lgpl3;
maintainers = with maintainers; [ regnat ];
};
}

View file

@ -0,0 +1,14 @@
{ buildDunePackage, ocf, ppxlib }:
buildDunePackage {
pname = "ocf_ppx";
minimalOCamlVersion = "4.11";
inherit (ocf) src version useDune2;
buildInputs = [ ppxlib ocf ];
meta = ocf.meta // {
description = "Preprocessor for Ocf library";
};
}