nixpkgs/pkgs/development/ocaml-modules/printbox/default.nix
Vincent Laporte 089c0efe8c ocamlPackages.mdx: 1.4.0 → 1.5.0
And split to multiple outputs
2019-12-14 15:57:36 +01:00

27 lines
658 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, ocaml, mdx }:
buildDunePackage rec {
pname = "printbox";
version = "0.2";
minimumOCamlVersion = "4.05";
src = fetchFromGitHub {
owner = "c-cube";
repo = pname;
rev = version;
sha256 = "16nwwpp13hzlcm9xqfxc558afm3i5s802dkj69l9s2vp04lgms5n";
};
checkInputs = lib.optional doCheck mdx.bin;
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 = lib.licenses.isc;
maintainers = [ lib.maintainers.romildo ];
};
}