ocamlPackages.cmon: init at 0.2

(cherry picked from commit 3c1e9970b9)
This commit is contained in:
Vincent Laporte
2026-07-16 09:51:31 +02:00
committed by github-actions[bot]
parent 35ed2cb3c0
commit 487abbad42
2 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
{
lib,
fetchurl,
buildDunePackage,
grenier,
pprint,
}:
buildDunePackage (finalAttrs: {
pname = "cmon";
version = "0.2";
src = fetchurl {
url = "https://github.com/let-def/cmon/releases/download/v${finalAttrs.version}/cmon-${finalAttrs.version}.tbz";
hash = "sha256-lJi5NV27YqyDgUx1i4vBj/buzyzdWJSrSceGGs82grg=";
};
propagatedBuildInputs = [
grenier
pprint
];
doCheck = true;
meta = {
description = "A library for printing OCaml values with sharing";
license = lib.licenses.mit;
homepage = "https://github.com/let-def/cmon";
};
})

View File

@@ -269,6 +269,8 @@ let
cmdliner_1 = cmdliner.override { version = "1.3.0"; };
cmon = callPackage ../development/ocaml-modules/cmon { };
cohttp = callPackage ../development/ocaml-modules/cohttp { };
cohttp_5_3 = cohttp.overrideAttrs (_: {