Files
nixpkgs/pkgs/development/ocaml-modules/graphics/default.nix
T
2025-11-24 21:29:35 +01:00

33 lines
597 B
Nix

{
lib,
fetchFromGitHub,
buildDunePackage,
dune-configurator,
libX11,
libXft,
}:
buildDunePackage (finalAttrs: {
pname = "graphics";
version = "5.2.0";
src = fetchFromGitHub {
owner = "ocaml";
repo = "graphics";
tag = finalAttrs.version;
hash = "sha256-0lpeZW1U//J5lH04x2ReBeug4s79KCyb5QYaiVgcBZI=";
};
buildInputs = [ dune-configurator ];
propagatedBuildInputs = [
libX11
libXft
];
meta = {
homepage = "https://github.com/ocaml/graphics";
description = "Set of portable drawing primitives";
license = lib.licenses.lgpl2;
};
})