ocamlPackages.gd4o: disable for OCaml ≥ 5.0

This commit is contained in:
Vincent Laporte
2023-11-13 05:06:51 +01:00
committed by Vincent Laporte
parent 6cd24b0187
commit 7c77641bf6
@@ -1,5 +1,8 @@
{ lib, stdenv, fetchurl, ocaml, gd, freetype, findlib, zlib, libpng, libjpeg }:
lib.throwIf (lib.versionAtLeast ocaml.version "5.0")
"gd4o is not available for OCaml ${ocaml.version}"
stdenv.mkDerivation rec {
pname = "ocaml${ocaml.version}-gd4o";
version = "1.0a5";