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
55
pkgs/development/ocaml-modules/netchannel/default.nix
Normal file
55
pkgs/development/ocaml-modules/netchannel/default.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{ lib
|
||||
, buildDunePackage
|
||||
, fetchurl
|
||||
, ppx_sexp_conv
|
||||
, ppx_cstruct
|
||||
, lwt
|
||||
, mirage-net
|
||||
, io-page
|
||||
, mirage-xen
|
||||
, ipaddr
|
||||
, mirage-profile
|
||||
, shared-memory-ring
|
||||
, sexplib
|
||||
, logs
|
||||
, rresult
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "netchannel";
|
||||
version = "2.0.0";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimumOCamlVersion = "4.08";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/mirage-net-xen/releases/download/v${version}/mirage-net-xen-v${version}.tbz";
|
||||
sha256 = "ec3906ef1804ef6a9e36b91f4ae73ce4849e9e0d1d36a80fe66b5f905fab93ad";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
ppx_cstruct
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ppx_sexp_conv
|
||||
lwt
|
||||
mirage-net
|
||||
io-page
|
||||
mirage-xen
|
||||
ipaddr
|
||||
mirage-profile
|
||||
shared-memory-ring
|
||||
sexplib
|
||||
logs
|
||||
rresult
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Network device for reading and writing Ethernet frames via then Xen netfront/netback protocol";
|
||||
license = licenses.isc;
|
||||
maintainers = [ maintainers.sternenseemann ];
|
||||
homepage = "https://github.com/mirage/mirage-net-xen";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue