ocamlPackages.printbox: 0.4 → 0.5

This commit is contained in:
Vincent Laporte 2021-04-04 09:22:40 +02:00 committed by Vincent Laporte
parent eb319f74dd
commit 0062afc050

View file

@ -1,21 +1,24 @@
{ lib, fetchFromGitHub, buildDunePackage, uucp, uutf }:
{ lib, fetchFromGitHub, buildDunePackage, ocaml, uucp, uutf, mdx }:
buildDunePackage rec {
pname = "printbox";
version = "0.4";
version = "0.5";
minimumOCamlVersion = "4.05";
useDune2 = true;
minimumOCamlVersion = "4.03";
src = fetchFromGitHub {
owner = "c-cube";
repo = pname;
rev = version;
sha256 = "0bq2v37v144i00h1zwyqhkfycxailr245n97yff0f7qnidxprix0";
sha256 = "099yxpp7d9bms6dwzp9im7dv1qb801hg5rx6awpx3rpfl4cvqfn2";
};
checkInputs = lib.optionals doCheck [ uucp uutf ];
checkInputs = [ uucp uutf mdx.bin ];
doCheck = true;
# mdx is not available for OCaml < 4.07
doCheck = lib.versionAtLeast ocaml.version "4.07";
meta = {
homepage = "https://github.com/c-cube/printbox/";