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