ocamlPackages.ocaml_cryptgps: disable for OCaml ≥ 4.06

+4
+4
pkgs/development/ocaml-modules/cryptgps/default.nix
··· 1 {stdenv, fetchurl, ocaml, findlib}: 2 3 stdenv.mkDerivation rec { 4 name = "ocaml-cryptgps-${version}"; 5 version = "0.2.1";
··· 1 {stdenv, fetchurl, ocaml, findlib}: 2 3 + if stdenv.lib.versionAtLeast ocaml.version "4.06" 4 + then throw "cryptgps is not available for OCaml ${ocaml.version}" 5 + else 6 + 7 stdenv.mkDerivation rec { 8 name = "ocaml-cryptgps-${version}"; 9 version = "0.2.1";