depot/pkgs/development/ocaml-modules/ocaml-gettext/camomile.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

19 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)";
};
}