ocamlPackages.ppx_jane: init at 113.33.00

This commit is contained in:
Vincent Laporte 2017-02-26 16:43:23 +00:00
parent 68998dca58
commit 1f1a950cb0
2 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, topkg
, ppx_assert, ppx_bench, ppx_bin_prot, ppx_custom_printf, ppx_enumerate, ppx_expect, ppx_fail, ppx_fields_conv, ppx_let, ppx_pipebang, ppx_sexp_message, ppx_sexp_value, ppx_typerep_conv, ppx_variants_conv
}:
stdenv.mkDerivation {
name = "ocaml${ocaml.version}-ppx_jane-113.33.00";
src = fetchurl {
url = http://ocaml.janestreet.com/ocaml-core/113.33/files/ppx_jane-113.33.00.tar.gz;
sha256 = "15lbrc9jj83k208gv7knz7mk9xh9mdb657jdjb1006gdsskfmra6";
};
buildInputs = [ ocaml findlib ocamlbuild opam ];
propagatedBuildInputs = [ ppx_assert ppx_bench ppx_bin_prot
ppx_custom_printf ppx_enumerate ppx_expect ppx_fail ppx_fields_conv
ppx_let ppx_pipebang ppx_sexp_message ppx_sexp_value ppx_typerep_conv
ppx_variants_conv ];
inherit (topkg) installPhase;
meta = {
license = stdenv.lib.licenses.asl20;
inherit (ocaml.meta) platforms;
};
}

View File

@ -653,7 +653,10 @@ let
then callPackage ../development/ocaml-modules/janestreet/ppx_expect-113_33_01.nix {}
else callPackage ../development/ocaml-modules/janestreet/ppx-expect.nix {};
ppx_jane = callPackage ../development/ocaml-modules/janestreet/ppx-jane.nix {};
ppx_jane =
if lib.versionOlder "4.03" ocaml.version
then callPackage ../development/ocaml-modules/janestreet/ppx_jane-113_33_00.nix {}
else callPackage ../development/ocaml-modules/janestreet/ppx-jane.nix {};
# Core sublibs