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
17
pkgs/development/ocaml-modules/macaddr/cstruct.nix
Normal file
17
pkgs/development/ocaml-modules/macaddr/cstruct.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ lib, buildDunePackage
|
||||
, macaddr, cstruct
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "macaddr-cstruct";
|
||||
|
||||
inherit (macaddr) version src;
|
||||
|
||||
propagatedBuildInputs = [ macaddr cstruct ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = macaddr.meta // {
|
||||
description = "A library for manipulation of MAC address representations using Cstructs";
|
||||
};
|
||||
}
|
||||
25
pkgs/development/ocaml-modules/macaddr/default.nix
Normal file
25
pkgs/development/ocaml-modules/macaddr/default.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ lib, fetchurl, buildDunePackage
|
||||
, ppx_sexp_conv, ounit
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "macaddr";
|
||||
version = "5.3.0";
|
||||
|
||||
minimalOCamlVersion = "4.04";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/ocaml-ipaddr/releases/download/v${version}/ipaddr-${version}.tbz";
|
||||
sha256 = "0mdp38mkvk2f5h2q7nb9fc70a8hyssblnl7kam0d8r5lckgrx5rn";
|
||||
};
|
||||
|
||||
checkInputs = [ ppx_sexp_conv ounit ];
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/mirage/ocaml-ipaddr";
|
||||
description = "A library for manipulation of MAC address representations";
|
||||
license = licenses.isc;
|
||||
maintainers = [ maintainers.alexfmpe ];
|
||||
};
|
||||
}
|
||||
18
pkgs/development/ocaml-modules/macaddr/sexp.nix
Normal file
18
pkgs/development/ocaml-modules/macaddr/sexp.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ lib, buildDunePackage
|
||||
, macaddr, ppx_sexp_conv, macaddr-cstruct, ounit
|
||||
}:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "macaddr-sexp";
|
||||
|
||||
inherit (macaddr) version src;
|
||||
|
||||
propagatedBuildInputs = [ ppx_sexp_conv ];
|
||||
|
||||
checkInputs = [ macaddr-cstruct ounit ];
|
||||
doCheck = true;
|
||||
|
||||
meta = macaddr.meta // {
|
||||
description = "A library for manipulation of MAC address representations using sexp";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue