2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchurl, buildDunePackage, dune-configurator, libX11 }:
|
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
|
|
|
|
pname = "graphics";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "5.1.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
useDune2 = true;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/ocaml/graphics/releases/download/${version}/graphics-${version}.tbz";
|
2021-12-19 01:06:50 +00:00
|
|
|
sha256 = "sha256-QA/YHSPxy0FGuWl5NCwkeXHdVPWHn/0vgOx80CEuMtQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ dune-configurator ];
|
|
|
|
propagatedBuildInputs = [ libX11 ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/ocaml/graphics";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Set of portable drawing primitives";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = lib.licenses.lgpl2;
|
|
|
|
};
|
|
|
|
}
|