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,26 @@
{ lib, buildDunePackage, fetchFromGitHub
, ctypes, integers
}:
buildDunePackage rec {
pname = "posix-base";
version = "2.0.0";
src = fetchFromGitHub {
owner = "savonet";
repo = "ocaml-posix";
rev = "v${version}";
sha256 = "18px8hfqcfy2lk8105ki3hrxxigs44gs046ba0fqda6wzd0hr82b";
};
useDune2 = true;
propagatedBuildInputs = [ ctypes integers ];
meta = {
homepage = "https://www.liquidsoap.info/ocaml-posix/";
description = "Base module for the posix bindings";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -0,0 +1,16 @@
{ lib, buildDunePackage, posix-base }:
buildDunePackage {
pname = "posix-socket";
inherit (posix-base) version src useDune2;
propagatedBuildInputs = [ posix-base ];
doCheck = true;
meta = posix-base.meta // {
description = "Bindings for posix sockets";
};
}

View file

@ -0,0 +1,16 @@
{ lib, buildDunePackage, posix-base, posix-types, unix-errno }:
buildDunePackage {
pname = "posix-time2";
inherit (posix-base) version src;
propagatedBuildInputs = [ posix-base posix-types unix-errno ];
doCheck = true;
meta = posix-base.meta // {
description = "posix-time2 provides the types and bindings for posix time APIs";
maintainers = with lib.maintainers; [ dandellion ];
};
}

View file

@ -0,0 +1,15 @@
{ lib, buildDunePackage, posix-base }:
buildDunePackage {
pname = "posix-types";
inherit (posix-base) version src useDune2;
minimumOCamlVersion = "4.03";
propagatedBuildInputs = [ posix-base ];
meta = posix-base.meta // {
description = "Bindings for the types defined in <sys/types.h>";
};
}