mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
20 lines
511 B
Nix
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)";
|
|
};
|
|
|
|
}
|