ocamlPackages.earlybird: disable for OCaml ≥ 4.08

This commit is contained in:
Vincent Laporte 2020-03-08 16:58:58 +01:00 committed by Vincent Laporte
parent bdcba83153
commit 4ada24a02c

View file

@ -1,7 +1,11 @@
{ lib, fetchurl, buildDunePackage, angstrom, angstrom-lwt-unix,
{ lib, fetchurl, ocaml, buildDunePackage, angstrom, angstrom-lwt-unix,
batteries, cmdliner, lwt_ppx, ocaml_lwt, ppx_deriving_yojson,
ppx_tools_versioned, yojson }:
if lib.versionAtLeast ocaml.version "4.08"
then throw "earlybird is not available for OCaml ${ocaml.version}"
else
buildDunePackage rec {
pname = "earlybird";
version = "0.1.5";