1 { lib, fetchFromGitHub, buildDunePackage, ocaml, mdx, gitUpdater }:
9 minimalOCamlVersion = "4.03";
11 src = fetchFromGitHub {
15 sha256 = "sha256-7u2ThRhM3vW4ItcFsK4ycgcaW0JcQOFoZZRq2kqbl+k=";
18 nativeCheckInputs = [ mdx.bin ];
20 # mdx is not available for OCaml < 4.08
21 doCheck = lib.versionAtLeast ocaml.version "4.08";
23 passthru.updateScript = gitUpdater { rev-prefix = "v"; };
26 homepage = "https://github.com/c-cube/printbox/";
27 description = "Allows to print nested boxes, lists, arrays, tables in several formats";
28 license = lib.licenses.isc;
29 maintainers = [ lib.maintainers.romildo ];