ocamlPackages.ocaml_gettext: disable tests

This commit is contained in:
Vincent Laporte 2022-10-25 15:23:27 +02:00 committed by Vincent Laporte
parent fb134d8dc5
commit ae179a485e
3 changed files with 5 additions and 6 deletions

View File

@ -2,7 +2,7 @@
buildDunePackage {
pname = "gettext-camomile";
inherit (ocaml_gettext) src version useDune2;
inherit (ocaml_gettext) src version;
propagatedBuildInputs = [ camomile ocaml_gettext ];

View File

@ -4,9 +4,7 @@ buildDunePackage rec {
pname = "gettext";
version = "0.4.2";
minimumOCamlVersion = "4.03";
useDune2 = true;
minimalOCamlVersion = "4.03";
src = fetchurl {
url = "https://github.com/gildor478/ocaml-gettext/releases/download/v${version}/gettext-v${version}.tbz";
@ -17,7 +15,8 @@ buildDunePackage rec {
propagatedBuildInputs = [ gettext fileutils ];
doCheck = true;
# Tests for version 0.4.2 are not compatible with OUnit 2.2.6
doCheck = false;
checkInputs = [ ounit ];

View File

@ -4,7 +4,7 @@ buildDunePackage rec {
pname = "gettext-stub";
inherit (ocaml_gettext) src version useDune2;
inherit (ocaml_gettext) src version;
buildInputs = [ dune-configurator ];