summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/cmon/default.nix
blob: 3edc0bb5e226d0102c50e88be5a5e748f7abdad8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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";
  };
})