mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
089c0efe8c
And split to multiple outputs
27 lines
658 B
Nix
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 ];
|
|
};
|
|
}
|