mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 01:04:25 +00:00
Merge pull request #254003 from vbgl/ocaml-5.1.0
ocaml-ng.ocamlPackages_5_1.ocaml: init at 5.1.0-rc3
This commit is contained in:
commit
0f568acbef
9
pkgs/development/compilers/ocaml/5.1.nix
Normal file
9
pkgs/development/compilers/ocaml/5.1.nix
Normal file
@ -0,0 +1,9 @@
|
||||
import ./generic.nix {
|
||||
major_version = "5";
|
||||
minor_version = "1";
|
||||
patch_version = "0-rc3";
|
||||
src = fetchTarball {
|
||||
url = "https://caml.inria.fr/pub/distrib/ocaml-5.1/ocaml-5.1.0~rc3.tar.xz";
|
||||
sha256 = "sha256:0cbvdcsq1qh70mm116dcgk6y7d4g4nrypzq20k7i6ww7am1563d3";
|
||||
};
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
{ lib, buildDunePackage, fetchurl
|
||||
, ppx_sexp_conv, ppx_cstruct
|
||||
, ppx_sexp_conv
|
||||
, mirage-crypto, mirage-crypto-ec, mirage-crypto-rng, mirage-crypto-pk
|
||||
, x509, cstruct, cstruct-unix, cstruct-sexp, sexplib, eqaf
|
||||
, rresult, mtime, logs, fmt, cmdliner, base64
|
||||
@ -24,8 +24,6 @@ buildDunePackage rec {
|
||||
ppx_sexp_conv eqaf
|
||||
];
|
||||
|
||||
buildInputs = [ ppx_cstruct ];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ cstruct-unix cmdliner fmt ];
|
||||
|
||||
|
@ -35,6 +35,7 @@ let param =
|
||||
"4.13" = v6_6;
|
||||
"4.14" = v6_6;
|
||||
"5.0" = v6_6;
|
||||
"5.1" = v6_6;
|
||||
}.${ocaml.meta.branch};
|
||||
in
|
||||
|
||||
|
@ -1927,6 +1927,8 @@ in let inherit (pkgs) callPackage; in rec
|
||||
|
||||
ocamlPackages_5_0 = mkOcamlPackages (callPackage ../development/compilers/ocaml/5.0.nix { });
|
||||
|
||||
ocamlPackages_5_1 = mkOcamlPackages (callPackage ../development/compilers/ocaml/5.1.nix { });
|
||||
|
||||
ocamlPackages_latest = ocamlPackages_5_0;
|
||||
|
||||
ocamlPackages = ocamlPackages_4_14;
|
||||
|
Loading…
Reference in New Issue
Block a user