nixpkgs/pkgs/development/ocaml-modules/camlimages/default.nix

30 lines
676 B
Nix
Raw Normal View History

{ 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";
2018-03-07 10:09:32 +00:00
};
buildInputs = [ dune-configurator cppo graphics lablgtk stdio ];
meta = with lib; {
2018-03-07 14:17:28 +00:00
branch = "5.0";
inherit (src.meta) homepage;
2018-03-07 14:17:28 +00:00
description = "OCaml image processing library";
license = licenses.lgpl2;
2018-03-07 14:39:47 +00:00
maintainers = [ maintainers.vbgl maintainers.mt-caret ];
2018-03-07 14:17:28 +00:00
};
2018-03-07 10:09:32 +00:00
}