mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 10:44:36 +00:00
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>
51 lines
831 B
Nix
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 ];
|
|
};
|
|
})
|