Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, fetchFromGitLab, buildDunePackage, findlib, dune-configurator, cppo
2, graphics, lablgtk, stdio
3}:
4
5buildDunePackage rec {
6 pname = "camlimages";
7 version = "5.0.4";
8
9 duneVersion = "3";
10
11 minimalOCamlVersion = "4.07";
12
13 src = fetchFromGitLab {
14 owner = "camlspotter";
15 repo = pname;
16 rev = version;
17 sha256 = "1m2c76ghisg73dikz2ifdkrbkgiwa0hcmp21f2fm2rkbf02rq3f4";
18 };
19
20 nativeBuildInputs = [ cppo ];
21 buildInputs = [ dune-configurator findlib graphics lablgtk stdio ];
22
23 meta = with lib; {
24 branch = "5.0";
25 inherit (src.meta) homepage;
26 description = "OCaml image processing library";
27 license = licenses.lgpl2;
28 maintainers = [ maintainers.vbgl maintainers.mt-caret ];
29 };
30}