nixpkgs/pkgs/development/ocaml-modules/ocaml-gettext/camomile.nix
2023-10-02 08:21:20 +02:00

20 lines
511 B
Nix

{ lib, buildDunePackage, ocaml, ocaml_gettext, camomile, ounit, fileutils }:
buildDunePackage {
pname = "gettext-camomile";
inherit (ocaml_gettext) src version;
propagatedBuildInputs = [
(camomile.override { version = "1.0.2"; })
ocaml_gettext
];
doCheck = lib.versionAtLeast ocaml.version "4.08";
checkInputs = [ ounit fileutils ];
meta = (builtins.removeAttrs ocaml_gettext.meta [ "mainProgram" ]) // {
description = "Internationalization library using camomile (i18n)";
};
}