summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ocaml-gettext/camomile.nix
blob: 3fde1d463cc7b57d1b69d69ebba1d347957741e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ 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)";
  };

}