depot/third_party/nixpkgs/pkgs/development/ocaml-modules/camlimages/default.nix
Default email 4bac34ead1 Project import generated by Copybara.
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
2023-02-09 12:40:11 +01:00

30 lines
703 B
Nix

{ lib, fetchFromGitLab, buildDunePackage, dune-configurator, cppo
, graphics, lablgtk, stdio
}:
buildDunePackage rec {
pname = "camlimages";
version = "5.0.4";
useDune2 = true;
minimumOCamlVersion = "4.07";
src = fetchFromGitLab {
owner = "camlspotter";
repo = pname;
rev = version;
sha256 = "1m2c76ghisg73dikz2ifdkrbkgiwa0hcmp21f2fm2rkbf02rq3f4";
};
nativeBuildInputs = [ cppo ];
buildInputs = [ dune-configurator graphics lablgtk stdio ];
meta = with lib; {
branch = "5.0";
inherit (src.meta) homepage;
description = "OCaml image processing library";
license = licenses.lgpl2;
maintainers = [ maintainers.vbgl maintainers.mt-caret ];
};
}