nixpkgs/pkgs/development/ocaml-modules/printbox/default.nix
2020-02-24 12:50:02 +01:00

26 lines
631 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, uucp, uutf }:
buildDunePackage rec {
pname = "printbox";
version = "0.4";
minimumOCamlVersion = "4.05";
src = fetchFromGitHub {
owner = "c-cube";
repo = pname;
rev = version;
sha256 = "0bq2v37v144i00h1zwyqhkfycxailr245n97yff0f7qnidxprix0";
};
checkInputs = lib.optionals doCheck [ uucp uutf ];
doCheck = true;
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 ];
};
}