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