ocamlPackages.printbox: disable tests for OCaml ≥ 4.08

This commit is contained in:
Vincent Laporte 2019-09-20 05:28:59 +00:00
parent 011dd72d6a
commit 59a07abdb2
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, buildDunePackage, mdx }:
{ lib, fetchFromGitHub, buildDunePackage, ocaml, mdx }:
buildDunePackage rec {
pname = "printbox";
@ -13,14 +13,14 @@ buildDunePackage rec {
sha256 = "16nwwpp13hzlcm9xqfxc558afm3i5s802dkj69l9s2vp04lgms5n";
};
checkInputs = [ mdx ];
checkInputs = lib.optional doCheck mdx;
doCheck = true;
doCheck = !lib.versionAtLeast ocaml.version "4.08";
meta = {
homepage = https://github.com/c-cube/printbox/;
description = "Allows to print nested boxes, lists, arrays, tables in several formats";
license = stdenv.lib.licenses.isc;
maintainers = [ stdenv.lib.maintainers.romildo ];
license = lib.licenses.isc;
maintainers = [ lib.maintainers.romildo ];
};
}