evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / ocaml-modules / magic-trace / default.nix
blobb4e1c557e81244fb936fba0964a90d9c5f345bea
1 { lib
2 , fetchFromGitHub
3 , buildDunePackage
4 , ocaml-crunch
5 , angstrom
6 , async
7 , cohttp
8 , cohttp_static_handler ? null
9 , core
10 , core_unix ? null
11 , fzf
12 , owee
13 , ppx_jane
14 , re
15 , shell ? null
18 buildDunePackage rec {
19   pname = "magic-trace";
20   version = "1.2.3";
22   minimalOCamlVersion = "4.12";
24   src = fetchFromGitHub {
25     owner = "janestreet";
26     repo = "magic-trace";
27     rev = "v${version}";
28     hash = "sha256-cAoaAXZOeWNQh6emm17a9oCis8s4jJxPQMI/NfiUa7g=";
29   };
31   nativeBuildInputs = [
32     ocaml-crunch
33   ];
34   buildInputs = [
35     angstrom
36     async
37     cohttp
38     cohttp_static_handler
39     core
40     core_unix
41     fzf
42     owee
43     ppx_jane
44     re
45     shell
46   ];
48   meta = with lib; {
49     description =
50       "Collects and displays high-resolution traces of what a process is doing";
51     license = licenses.mit;
52     maintainers = [ maintainers.alizter ];
53     homepage = "https://github.com/janestreet/magic-trace";
54   };