Merge pull request #56206 from vbgl/ocaml-cleaning-ligustro

ocamlPackages: disable a few libraries that do not build with old OCaml versions
This commit is contained in:
Frederik Rietdijk 2019-02-23 15:08:34 +01:00 committed by GitHub
commit d73bc6d06a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 3 deletions

View file

@ -4,6 +4,8 @@ buildDunePackage rec {
pname = "atd";
version = "2.0.0";
minimumOCamlVersion = "4.02";
src = fetchFromGitHub {
owner = "mjambon";
repo = pname;

View file

@ -1,6 +1,7 @@
{ buildDunePackage, bisect_ppx, ocamlbuild }:
buildDunePackage rec {
minimumOCamlVersion = "4.02";
inherit (bisect_ppx) version src meta;
pname = "bisect_ppx-ocamlbuild";
propagatedBuildInputs = [ ocamlbuild ];

View file

@ -4,7 +4,7 @@ buildDunePackage rec {
pname = "dtoa";
version = "0.3.1";
minimumOCamlVersion = "4.01";
minimumOCamlVersion = "4.02";
src = fetchurl {
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";

View file

@ -4,6 +4,8 @@ buildDunePackage rec {
pname = "opti";
version = "1.0.3";
minimumOCamlVersion = "4.02";
src = fetchurl {
url = "https://github.com/magnusjonsson/opti/releases/download/${version}/opti-${version}.tbz";
sha256 = "ed9ba56dc06e9d2b1bf097964cc65ea37db787d4f239c13d0dd74693f5b50a1e";

View file

@ -4,7 +4,7 @@ buildDunePackage rec {
pname = "wtf8";
version = "1.0.1";
minimumOCamlVersion = "4.01";
minimumOCamlVersion = "4.02";
src = fetchurl {
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-${version}.tbz";

View file

@ -2,7 +2,7 @@
, lambdaTerm, cppo, makeWrapper
}:
if !stdenv.lib.versionAtLeast ocaml.version "4.02"
if !stdenv.lib.versionAtLeast ocaml.version "4.03"
then throw "utop is not available for OCaml ${ocaml.version}"
else