1 { lib, fetchurl, buildDunePackage, dune-configurator, libX11 }:
11 url = "https://github.com/ocaml/graphics/releases/download/${version}/graphics-${version}.tbz";
12 sha256 = "sha256-QA/YHSPxy0FGuWl5NCwkeXHdVPWHn/0vgOx80CEuMtQ=";
15 buildInputs = [ dune-configurator ];
16 propagatedBuildInputs = [ libX11 ];
19 homepage = "https://github.com/ocaml/graphics";
20 description = "A set of portable drawing primitives";
21 license = lib.licenses.lgpl2;