ocamlPackages.printbox: 0.4 → 0.5
This commit is contained in:
parent
eb319f74dd
commit
0062afc050
1 changed files with 9 additions and 6 deletions
|
@ -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/";
|
||||
|
|
Loading…
Reference in a new issue