mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 22:06:00 +03:00
ocamlPackages.ppx_fail: init at 113.33.00+4.03
This commit is contained in:
parent
8f74b9024f
commit
cf39dba1d8
@ -0,0 +1,21 @@
|
||||
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, topkg
|
||||
, ppx_tools, ppx_here
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml${ocaml.version}-ppx_fail-113.33.00+4.03";
|
||||
src = fetchurl {
|
||||
url = http://ocaml.janestreet.com/ocaml-core/113.33/files/ppx_fail-113.33.00+4.03.tar.gz;
|
||||
sha256 = "1fy1aqsylf6yk527w13rm2b20il9vy026c5ww65pj3ks5zykfvx9";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild opam ppx_tools ];
|
||||
propagatedBuildInputs = [ ppx_here ];
|
||||
|
||||
inherit (topkg) installPhase;
|
||||
|
||||
meta = {
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
inherit (ocaml.meta) platforms;
|
||||
};
|
||||
}
|
@ -605,7 +605,10 @@ let
|
||||
then callPackage ../development/ocaml-modules/janestreet/ppx_enumerate-113_33_00.nix {}
|
||||
else callPackage ../development/ocaml-modules/janestreet/ppx-enumerate.nix {};
|
||||
|
||||
ppx_fail = callPackage ../development/ocaml-modules/janestreet/ppx-fail.nix {};
|
||||
ppx_fail =
|
||||
if lib.versionOlder "4.03" ocaml.version
|
||||
then callPackage ../development/ocaml-modules/janestreet/ppx_fail-113_33_00.nix {}
|
||||
else callPackage ../development/ocaml-modules/janestreet/ppx-fail.nix {};
|
||||
|
||||
ppx_fields_conv =
|
||||
if lib.versionOlder "4.03" ocaml.version
|
||||
|
Loading…
Reference in New Issue
Block a user