blob: 7c197f9e87b0f7070784e3dbfd6bf5b2dd8329ec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ lib, buildDunePackage, ocaml, ocaml_gettext, dune-configurator, ounit }:
lib.throwIf (lib.versionAtLeast ocaml.version "5.0")
"gettext-stub is not available for OCaml ${ocaml.version}"
buildDunePackage {
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" ];
}
|