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:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
42
pkgs/development/ocaml-modules/ethernet/default.nix
Normal file
42
pkgs/development/ocaml-modules/ethernet/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib, buildDunePackage, fetchurl
|
||||
, rresult, cstruct, ppx_cstruct, mirage-net, mirage-protocols
|
||||
, mirage-profile, macaddr, fmt, lwt, logs
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "ethernet";
|
||||
version = "3.0.0";
|
||||
|
||||
minimumOCamlVersion = "4.08";
|
||||
|
||||
# necessary due to cstruct
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
||||
sha256 = "0a898vp9dw42majsvzzvs8pc6x4ns01wlwhwbacixliv6vv78ng9";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
ppx_cstruct
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
rresult
|
||||
cstruct
|
||||
mirage-net
|
||||
mirage-protocols
|
||||
macaddr
|
||||
mirage-profile
|
||||
fmt
|
||||
lwt
|
||||
logs
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "OCaml Ethernet (IEEE 802.3) layer, used in MirageOS";
|
||||
homepage = "https://github.com/mirage/ethernet";
|
||||
license = licenses.isc;
|
||||
maintainers = [ maintainers.sternenseemann ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue