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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
{ lib
, fetchFromGitHub
, buildDunePackage
, ocaml-crunch
, angstrom
, async
, cohttp
, cohttp_static_handler ? null
, core
, core_unix ? null
, fzf
, owee
, ppx_jane
, re
, shell ? null
}:
buildDunePackage rec {
pname = "magic-trace";
version = "1.2.1";
minimalOCamlVersion = "4.12";
src = fetchFromGitHub {
owner = "janestreet";
repo = "magic-trace";
rev = "v${version}";
hash = "sha256-/9TDjCG/06mhGyqbjAdUmk6fcaq9fNDqVSw51w5EEy4=";
};
nativeBuildInputs = [
ocaml-crunch
];
buildInputs = [
angstrom
async
cohttp
cohttp_static_handler
core
core_unix
fzf
owee
ppx_jane
re
shell
];
meta = with lib; {
description =
"Collects and displays high-resolution traces of what a process is doing";
license = licenses.mit;
maintainers = [ maintainers.alizter ];
homepage = "https://github.com/janestreet/magic-trace";
};
}
|