12 homepage = "https://erratique.ch/software/gg";
16 lib.throwIfNot (lib.versionAtLeast ocaml.version "4.08")
17 "gg is not available for OCaml ${ocaml.version}"
22 pname = "ocaml${ocaml.version}-gg";
26 url = "${homepage}/releases/gg-${version}.tbz";
27 sha256 = "sha256:0j7bpj8k17csnz6v6frkz9aycywsb7xmznnb31g8rbfk3626f3ci";
38 buildInputs = [ topkg ];
40 inherit (topkg) buildPhase installPhase;
43 description = "Basic types for computer graphics in OCaml";
45 Gg is an OCaml module providing basic types for computer graphics. It
46 defines types and functions for floats, vectors, points, sizes,
47 matrices, quaternions, axis aligned boxes, colors, color spaces, and
51 inherit (ocaml.meta) platforms;
52 license = licenses.bsd3;
53 maintainers = [ maintainers.jirkamarsik ];