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,28 @@
|
|||
{ lib, fetchFromGitHub, buildDunePackage, ocaml, result, ppx_derivers }:
|
||||
|
||||
if lib.versionOlder "4.13" ocaml.version
|
||||
then throw "ocaml-migrate-parsetree-1.8 is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "ocaml-migrate-parsetree";
|
||||
version = "1.8.0";
|
||||
|
||||
useDune2 = lib.versionAtLeast ocaml.version "4.08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ocaml-ppx";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "16x8sxc4ygxrr1868qpzfqyrvjf3hfxvjzmxmf6ibgglq7ixa2nq";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ ppx_derivers result ];
|
||||
|
||||
meta = {
|
||||
description = "Convert OCaml parsetrees between different major versions";
|
||||
license = lib.licenses.lgpl21;
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
inherit (src.meta) homepage;
|
||||
};
|
||||
}
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
{ lib, fetchurl, buildDunePackage }:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "ocaml-migrate-parsetree";
|
||||
version = "2.3.0";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimalOCamlVersion = "4.02";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ocaml-ppx/${pname}/releases/download/v${version}/${pname}-${version}.tbz";
|
||||
sha256 = "sha256:02mzh1rcvc2xpq4iz01z7kvzsgxns3774ggxi96f147i8yr2d08h";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Convert OCaml parsetrees between different major versions";
|
||||
license = lib.licenses.lgpl21;
|
||||
maintainers = with lib.maintainers; [ vbgl sternenseemann ];
|
||||
homepage = "https://github.com/ocaml-ppx/ocaml-migrate-parsetree";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue