1 { lib, fetchFromGitLab, buildDunePackage, findlib, dune-configurator, cppo
2 , graphics, lablgtk, stdio
9 minimalOCamlVersion = "4.07";
11 src = fetchFromGitLab {
12 owner = "camlspotter";
15 sha256 = "1m2c76ghisg73dikz2ifdkrbkgiwa0hcmp21f2fm2rkbf02rq3f4";
18 # stdio v0.17 compatibility; also replaces `String.lowercase` with `String.lowercase_ascii`
19 patches = [ ./camlimages.patch ];
21 nativeBuildInputs = [ cppo ];
22 buildInputs = [ dune-configurator findlib graphics lablgtk stdio ];
26 inherit (src.meta) homepage;
27 description = "OCaml image processing library";
28 license = licenses.lgpl2;
29 maintainers = [ maintainers.vbgl maintainers.mt-caret ];