summaryrefslogtreecommitdiffstats
path: root/pkgs/development/ocaml-modules/memtrace/default.nix
blob: 783da4401b77357d3ba4a085dbe73505d7c18d72 (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
{
  lib,
  buildDunePackage,
  fetchFromGitHub,
}:

buildDunePackage (finalAttrs: {
  pname = "memtrace";
  version = "0.2.3";

  src = fetchFromGitHub {
    owner = "janestreet";
    repo = "memtrace";
    rev = "v${finalAttrs.version}";
    hash = "sha256-dWkTrN8ZgNUz7BW7Aut8mfx8o4n8f6UZaDv/7rbbwNs=";
  };

  minimalOCamlVersion = "4.11";

  meta = {
    homepage = "https://github.com/janestreet/memtrace";
    description = "Streaming client for OCaml's Memprof";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ niols ];
  };
})