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
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, fetchurl, buildDunePackage, cppo, ppx_deriving
|
||||
, ppxlib, dune-configurator
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "ppx_deriving_protobuf";
|
||||
version = "3.0.0";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocaml-ppx/ppx_deriving_protobuf/releases/download/v${version}/ppx_deriving_protobuf-v${version}.tbz";
|
||||
sha256 = "1dc1vxnkd0cnrgac5v3zbaj2lq1d2w8118mp1cmsdxylp06yz1sj";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cppo ];
|
||||
buildInputs = [ ppxlib dune-configurator ];
|
||||
propagatedBuildInputs = [ ppx_deriving ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ocaml-ppx/ppx_deriving_protobuf";
|
||||
description = "A Protocol Buffers codec generator for OCaml";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.vyorkin ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue