nixpkgs/pkgs/development/ocaml-modules/printbox/default.nix

27 lines
631 B
Nix
Raw Normal View History

2019-11-18 20:06:50 +00:00
{ lib, fetchFromGitHub, buildDunePackage, uucp, uutf }:
2019-06-18 19:24:25 +01:00
buildDunePackage rec {
pname = "printbox";
2019-11-18 20:06:50 +00:00
version = "0.4";
2019-06-18 19:24:25 +01:00
minimumOCamlVersion = "4.05";
src = fetchFromGitHub {
owner = "c-cube";
repo = pname;
rev = version;
2019-11-18 20:06:50 +00:00
sha256 = "0bq2v37v144i00h1zwyqhkfycxailr245n97yff0f7qnidxprix0";
2019-06-18 19:24:25 +01:00
};
2019-11-18 20:06:50 +00:00
checkInputs = lib.optionals doCheck [ uucp uutf ];
2019-06-18 19:24:25 +01:00
2019-11-18 20:06:50 +00:00
doCheck = true;
2019-06-18 19:24:25 +01:00
meta = {
2019-11-18 20:06:50 +00:00
homepage = "https://github.com/c-cube/printbox/";
2019-06-18 19:24:25 +01:00
description = "Allows to print nested boxes, lists, arrays, tables in several formats";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.romildo ];
2019-06-18 19:24:25 +01:00
};
}