10 lib.throwIf (lib.versionAtLeast ocaml.version "5.0")
11 "gettext-stub is not available for OCaml ${ocaml.version}"
16 pname = "gettext-stub";
18 inherit (ocaml_gettext) src version;
20 minimalOCamlVersion = "4.06";
22 buildInputs = [ dune-configurator ];
24 propagatedBuildInputs = [ ocaml_gettext ];
26 doCheck = lib.versionAtLeast ocaml.version "4.08";
28 checkInputs = [ ounit ];
30 meta = builtins.removeAttrs ocaml_gettext.meta [ "mainProgram" ];