2023-05-24 13:37:59 +00:00
|
|
|
{ lib, buildDunePackage, ocaml, ocaml_gettext, dune-configurator, ounit }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
|
|
|
|
pname = "gettext-stub";
|
|
|
|
|
2022-11-04 12:27:35 +00:00
|
|
|
inherit (ocaml_gettext) src version;
|
2021-02-16 17:04:54 +00:00
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
minimalOCamlVersion = "4.06";
|
|
|
|
|
2021-02-16 17:04:54 +00:00
|
|
|
buildInputs = [ dune-configurator ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ ocaml_gettext ];
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [ ounit ];
|
2022-06-16 17:23:12 +00:00
|
|
|
|
|
|
|
meta = builtins.removeAttrs ocaml_gettext.meta [ "mainProgram" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|