evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / ocaml-modules / camlimages / default.nix
blobc9f523d098d7011d3faabc4a78645d876ceaf541
1 { lib, fetchFromGitLab, buildDunePackage, findlib, dune-configurator, cppo
2 , graphics, lablgtk, stdio
3 }:
5 buildDunePackage rec {
6   pname = "camlimages";
7   version = "5.0.4";
9   minimalOCamlVersion = "4.07";
11   src = fetchFromGitLab {
12     owner = "camlspotter";
13     repo = pname;
14     rev = version;
15     sha256 = "1m2c76ghisg73dikz2ifdkrbkgiwa0hcmp21f2fm2rkbf02rq3f4";
16   };
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 ];
24   meta = with lib; {
25     branch = "5.0";
26     inherit (src.meta) homepage;
27     description = "OCaml image processing library";
28     license = licenses.lgpl2;
29     maintainers = [ maintainers.vbgl maintainers.mt-caret ];
30   };