ocamlPackages.kafka: disable for OCaml ≥ 5.0

This commit is contained in:
Vincent Laporte
2025-04-18 13:30:00 +02:00
parent ef7d361ee0
commit 1e875f0204
@@ -1,11 +1,15 @@
{
lib,
fetchurl,
ocaml,
buildDunePackage,
rdkafka,
zlib,
}:
lib.throwIf (lib.versionAtLeast ocaml.version "5.0")
"kafka is not available for OCaml ${ocaml.version}"
buildDunePackage rec {
pname = "kafka";
version = "0.5";