ocamlpackages.ppx_fields_conv: init at 113.33.00+4.03
This commit is contained in:
parent
ecc5dd5571
commit
1aab9f884d
@ -0,0 +1,21 @@
|
||||
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, topkg
|
||||
, fieldslib, ppx_deriving, ppx_type_conv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml${ocaml.version}-ppx_fields_conv-113.33.00+4.03";
|
||||
src = fetchurl {
|
||||
url = http://ocaml.janestreet.com/ocaml-core/113.33/files/ppx_fields_conv-113.33.00+4.03.tar.gz;
|
||||
sha256 = "1wfi8pc0y7wjiscvawhfgbcfx7ypmikmyyagwhzw7jhnldljwrkg";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild opam ];
|
||||
propagatedBuildInputs = [ fieldslib ppx_deriving ppx_type_conv ];
|
||||
|
||||
inherit (topkg) installPhase;
|
||||
|
||||
meta = {
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
inherit (ocaml.meta) platforms;
|
||||
};
|
||||
}
|
@ -607,7 +607,10 @@ let
|
||||
|
||||
ppx_fail = callPackage ../development/ocaml-modules/janestreet/ppx-fail.nix {};
|
||||
|
||||
ppx_fields_conv = callPackage ../development/ocaml-modules/janestreet/ppx-fields-conv.nix {};
|
||||
ppx_fields_conv =
|
||||
if lib.versionOlder "4.03" ocaml.version
|
||||
then callPackage ../development/ocaml-modules/janestreet/ppx_fields_conv-113_33_00.nix {}
|
||||
else callPackage ../development/ocaml-modules/janestreet/ppx-fields-conv.nix {};
|
||||
|
||||
ppx_let = callPackage ../development/ocaml-modules/janestreet/ppx-let.nix {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user