3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/printbox/default.nix
Vincent Laporte ecd0acf293 ocamlPackages.printbox: 0.5 → 0.6
ocamlPackages.printbox-text: init at 0.6
2022-02-02 07:31:55 +01:00

30 lines
717 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, ocaml, mdx }:
buildDunePackage rec {
pname = "printbox";
version = "0.6";
useDune2 = true;
minimalOCamlVersion = "4.03";
src = fetchFromGitHub {
owner = "c-cube";
repo = pname;
rev = "v${version}";
sha256 = "sha256:0vqp8j1vp8h8par699nnh31hnikzh6pqn07lqyxw65axqy3sc9dp";
};
checkInputs = [ mdx.bin ];
# mdx is not available for OCaml < 4.07
doCheck = lib.versionAtLeast ocaml.version "4.07";
meta = {
homepage = "https://github.com/c-cube/printbox/";
description = "Allows to print nested boxes, lists, arrays, tables in several formats";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.romildo ];
};
}