forked from mirrors/nixpkgs
27 lines
654 B
Nix
27 lines
654 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;
|
|
|
|
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 ];
|
|
};
|
|
}
|