ocamlPackages.ppx_custom_printf: init at 113.33.00+4.03
This commit is contained in:
parent
654dd0aa96
commit
c4e5f18631
@ -0,0 +1,21 @@
|
|||||||
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, topkg
|
||||||
|
, ppx_sexp_conv
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "ocaml${ocaml.version}-ppx_custom_printf-113.33.00+4.03";
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://ocaml.janestreet.com/ocaml-core/113.33/files/ppx_custom_printf-113.33.00+4.03.tar.gz;
|
||||||
|
sha256 = "1hw8q4x0hzyg3brlqpdm0bc7z6lnj6qymzw123cf51q9dq0386jb";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ ocaml findlib ocamlbuild opam ];
|
||||||
|
propagatedBuildInputs = [ ppx_sexp_conv ];
|
||||||
|
|
||||||
|
inherit (topkg) installPhase;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
license = stdenv.lib.licenses.asl20;
|
||||||
|
inherit (ocaml.meta) platforms;
|
||||||
|
};
|
||||||
|
}
|
@ -595,7 +595,10 @@ let
|
|||||||
|
|
||||||
ppx_bin_prot = callPackage ../development/ocaml-modules/janestreet/ppx-bin-prot.nix {};
|
ppx_bin_prot = callPackage ../development/ocaml-modules/janestreet/ppx-bin-prot.nix {};
|
||||||
|
|
||||||
ppx_custom_printf = callPackage ../development/ocaml-modules/janestreet/ppx-custom-printf.nix {};
|
ppx_custom_printf =
|
||||||
|
if lib.versionOlder "4.03" ocaml.version
|
||||||
|
then callPackage ../development/ocaml-modules/janestreet/ppx_custom_printf-113_33_00.nix {}
|
||||||
|
else callPackage ../development/ocaml-modules/janestreet/ppx-custom-printf.nix {};
|
||||||
|
|
||||||
ppx_enumerate = callPackage ../development/ocaml-modules/janestreet/ppx-enumerate.nix {};
|
ppx_enumerate = callPackage ../development/ocaml-modules/janestreet/ppx-enumerate.nix {};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user