2023-05-12 21:09:22 +00:00
|
|
|
{ lib, buildDunePackage, ocaml, ocaml_gettext, dune-configurator, ounit }:
|
2020-04-06 11:44:48 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
|
|
|
|
pname = "gettext-stub";
|
|
|
|
|
2022-10-25 13:23:27 +00:00
|
|
|
inherit (ocaml_gettext) src version;
|
2021-02-16 07:46:31 +00:00
|
|
|
|
2023-05-12 03:50:40 +00:00
|
|
|
minimalOCamlVersion = "4.06";
|
|
|
|
|
2021-02-16 07:46:31 +00:00
|
|
|
buildInputs = [ dune-configurator ];
|
2020-04-06 11:44:48 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ ocaml_gettext ];
|
|
|
|
|
2023-05-12 21:09:22 +00:00
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
2020-04-06 11:44:48 +00:00
|
|
|
|
2022-04-04 11:57:15 +00:00
|
|
|
checkInputs = [ ounit ];
|
2022-05-18 00:57:46 +00:00
|
|
|
|
|
|
|
meta = builtins.removeAttrs ocaml_gettext.meta [ "mainProgram" ];
|
2020-04-06 11:44:48 +00:00
|
|
|
}
|