ocamlPackages.ocaml_cryptgps: disable for OCaml ≥ 4.06

This commit is contained in:
Vincent Laporte 2018-08-21 17:41:42 +00:00
parent ebd62e2423
commit 3fb8dac658
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -1,5 +1,9 @@
{stdenv, fetchurl, ocaml, findlib}:
if stdenv.lib.versionAtLeast ocaml.version "4.06"
then throw "cryptgps is not available for OCaml ${ocaml.version}"
else
stdenv.mkDerivation rec {
name = "ocaml-cryptgps-${version}";
version = "0.2.1";