Files
nixpkgs/pkgs/development/ocaml-modules/grace/default.nix
Olivier Nicole 26f41474f6 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>
2026-06-30 10:39:48 +02:00

51 lines
831 B
Nix

{
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 ];
};
})