2020-10-16 20:44:37 +00:00
|
|
|
{ lib, fetchFromGitLab, buildDunePackage, dune-configurator, cppo, lablgtk, stdio }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "camlimages";
|
2020-10-16 20:44:37 +00:00
|
|
|
version = "5.0.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-10-16 20:44:37 +00:00
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
minimumOCamlVersion = "4.07";
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "camlspotter";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1ng9pkvrzlibfyf97iqvmbsqcykz8v1ln106xhq9nigih5i68zyd";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-10-16 20:44:37 +00:00
|
|
|
buildInputs = [ dune-configurator cppo 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 ];
|
|
|
|
};
|
|
|
|
}
|