ocamlPackages.ocaml_data_notation: disable for OCaml ≥ 4.06

This commit is contained in:
Vincent Laporte 2018-08-21 18:16:40 +00:00
parent 0c3cf014e2
commit 9590e46c05
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -1,5 +1,9 @@
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, type_conv, ounit, camlp4 }:
if stdenv.lib.versionAtLeast ocaml.version "4.06"
then throw "ocaml-data-notation is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation {
name = "ocaml-data-notation-0.0.11";