2023-05-24 13:37:59 +00:00
|
|
|
{ lib, fetchFromGitLab, buildDunePackage, findlib, dune-configurator, cppo
|
2020-11-19 00:13:47 +00:00
|
|
|
, graphics, lablgtk, stdio
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "camlimages";
|
2020-11-19 00:13:47 +00:00
|
|
|
version = "5.0.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
duneVersion = "3";
|
2020-10-16 20:44:37 +00:00
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
minimalOCamlVersion = "4.07";
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "camlspotter";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-11-19 00:13:47 +00:00
|
|
|
sha256 = "1m2c76ghisg73dikz2ifdkrbkgiwa0hcmp21f2fm2rkbf02rq3f4";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-03-05 16:20:37 +00:00
|
|
|
nativeBuildInputs = [ cppo ];
|
2023-05-24 13:37:59 +00:00
|
|
|
buildInputs = [ dune-configurator findlib graphics lablgtk stdio ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
branch = "5.0";
|
2020-10-16 20:44:37 +00:00
|
|
|
inherit (src.meta) homepage;
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "OCaml image processing library";
|
2020-10-16 20:44:37 +00:00
|
|
|
license = licenses.lgpl2;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = [ maintainers.vbgl maintainers.mt-caret ];
|
|
|
|
};
|
|
|
|
}
|