ocamlPackages_5_3.ocaml: init at 5.3.0 (#372267)

This commit is contained in:
Weijia Wang
2025-01-10 23:03:41 +01:00
committed by GitHub
4 changed files with 30 additions and 8 deletions
+6
View File
@@ -0,0 +1,6 @@
import ./generic.nix {
major_version = "5";
minor_version = "3";
patch_version = "0";
sha256 = "sha256-sCKTNtnr4K+QWVS80a5bKTMGu8sIwB6tA1ANnlvJAWQ=";
}
@@ -1536,12 +1536,25 @@ with self;
];
};
ppxlib_jane = janePackage {
pname = "ppxlib_jane";
hash = "sha256-8NC8CHh3pSdFuRDQCuuhc2xxU+84UAsGFJbbJoKwd0U=";
meta.description = "A library for use in ppxes for constructing and matching on ASTs corresponding to the augmented parsetree";
propagatedBuildInputs = [ ppxlib ];
};
ppxlib_jane = janePackage (
{
pname = "ppxlib_jane";
meta.description = "A library for use in ppxes for constructing and matching on ASTs corresponding to the augmented parsetree";
propagatedBuildInputs = [ ppxlib ];
}
// (
if lib.versionAtLeast ocaml.version "5.3" then
{
version = "0.17.1";
hash = "sha256-kcGXqO1kFYds8KwLvpIQ7OKhqnp6JZs8WYYLi7o/nBw=";
}
else
{
version = "0.17.0";
hash = "sha256-8NC8CHh3pSdFuRDQCuuhc2xxU+84UAsGFJbbJoKwd0U=";
}
)
);
profunctor = janePackage {
pname = "profunctor";
@@ -2,6 +2,7 @@
lib,
fetchFromGitHub,
fetchurl,
ocaml,
buildDunePackage,
gen,
ppxlib,
@@ -74,7 +75,7 @@ buildDunePackage rec {
ppx_expect
];
doCheck = true;
doCheck = !lib.versionAtLeast ocaml.version "5.3";
dontStrip = true;
+3 -1
View File
@@ -2099,7 +2099,9 @@ in let inherit (pkgs) callPackage; in rec
ocamlPackages_5_2 = mkOcamlPackages (callPackage ../development/compilers/ocaml/5.2.nix { });
ocamlPackages_latest = ocamlPackages_5_2;
ocamlPackages_5_3 = mkOcamlPackages (callPackage ../development/compilers/ocaml/5.3.nix { });
ocamlPackages_latest = ocamlPackages_5_3;
ocamlPackages = ocamlPackages_5_2;