about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/mirage-profile/default.nix
blob: ef856e02127301abc44f5c5e0e25c438abebc322 (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
{ lib, fetchurl, buildDunePackage
, ppx_cstruct, stdlib-shims
, cstruct, lwt
}:

buildDunePackage rec {
  pname = "mirage-profile";
  version = "0.9.1";

  useDune2 = true;

  src = fetchurl {
    url = "https://github.com/mirage/mirage-profile/releases/download/v${version}/mirage-profile-v${version}.tbz";
    sha256 = "0lh3591ad4v7nxpd410b75idmgdq668mqdilvkg4avrwqw1wzdib";
  };

  buildInputs = [ ppx_cstruct ];
  propagatedBuildInputs = [ cstruct lwt stdlib-shims ];

  meta = with lib; {
    description = "Collect runtime profiling information in CTF format";
    homepage = "https://github.com/mirage/mirage-profile";
    license = licenses.bsd2;
    maintainers = with maintainers; [ vbgl ];
  };
}