mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
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:
parent
d676d4493f
commit
64c2e5dcc2
2 changed files with 52 additions and 0 deletions
50
pkgs/development/ocaml-modules/grace/default.nix
Normal file
50
pkgs/development/ocaml-modules/grace/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
||||
|
|
@ -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 { }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue