about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/magic-trace/default.nix
blob: 39bdca1119a4509b7d1591e03e19994819524a36 (plain) (blame)
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
{ lib, fetchFromGitHub, buildDunePackage, async, cohttp_static_handler ? null
, core_unix ? null, owee, ppx_jane, shell ? null }:

buildDunePackage rec {
  pname = "magic-trace";
  version = "1.1.0";

  minimalOCamlVersion = "4.12";
  duneVersion = "3";

  src = fetchFromGitHub {
    owner = "janestreet";
    repo = "magic-trace";
    rev = "v${version}";
    sha256 = "sha256-615AOkrbQI6vRosA5Kz3Epipe9f9+Gs9+g3bVl5gzBY=";
  };

  buildInputs = [ async cohttp_static_handler core_unix owee ppx_jane 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";
  };
}