ocamlPackages.grace: init at 0.3.0

Assisted-by: Claude Sonnet 4.6 (Anthropic)
Co-authored-by: Léo <16472988+redianthus@users.noreply.github.com>
Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
(cherry picked from commit 26f41474f6)
This commit is contained in:
Olivier Nicole 2026-06-26 09:53:37 +02:00 committed by github-actions[bot]
commit 64c2e5dcc2
2 changed files with 52 additions and 0 deletions

View file

@ -0,0 +1,50 @@
{
lib,
buildDunePackage,
fetchFromGitHub,
fmt,
iter,
uutf,
sexplib,
ppx_sexp_conv,
core,
ppx_jane,
dedent ? null,
}:
buildDunePackage (finalAttrs: {
pname = "grace";
version = "0.3.0";
minimalOCamlVersion = "4.14";
src = fetchFromGitHub {
owner = "johnyob";
repo = "grace";
tag = finalAttrs.version;
hash = "sha256-V5K9RGk47K/R+q4wS1FU02kMi1uWSCgdUjKHk7uXuGw=";
};
propagatedBuildInputs = [
fmt
iter
uutf
sexplib
ppx_sexp_conv
];
checkInputs = [
core
ppx_jane
dedent
];
doCheck = true;
meta = {
description = "A fancy diagnostics library that allows your compilers to exit with grace";
homepage = "https://github.com/johnyob/grace";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ otini ];
};
})

View file

@ -762,6 +762,8 @@ let
inherit (pkgs) gnuplot;
};
grace = callPackage ../development/ocaml-modules/grace { };
graphics =
if lib.versionOlder "4.09" ocaml.version then
callPackage ../development/ocaml-modules/graphics { }