94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
20 lines
439 B
Nix
20 lines
439 B
Nix
{ lib, buildDunePackage, ocaml, ocaml_gettext, dune-configurator, ounit }:
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "gettext-stub";
|
|
|
|
inherit (ocaml_gettext) src version;
|
|
|
|
minimalOCamlVersion = "4.06";
|
|
|
|
buildInputs = [ dune-configurator ];
|
|
|
|
propagatedBuildInputs = [ ocaml_gettext ];
|
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
|
|
|
checkInputs = [ ounit ];
|
|
|
|
meta = builtins.removeAttrs ocaml_gettext.meta [ "mainProgram" ];
|
|
}
|