1{
2 lib,
3 fetchurl,
4 buildDunePackage,
5 ppx_cstruct,
6 stdlib-shims,
7 cstruct,
8 lwt,
9}:
10
11buildDunePackage rec {
12 pname = "mirage-profile";
13 version = "0.9.1";
14
15 duneVersion = "3";
16
17 src = fetchurl {
18 url = "https://github.com/mirage/mirage-profile/releases/download/v${version}/mirage-profile-v${version}.tbz";
19 sha256 = "0lh3591ad4v7nxpd410b75idmgdq668mqdilvkg4avrwqw1wzdib";
20 };
21
22 buildInputs = [ ppx_cstruct ];
23 propagatedBuildInputs = [
24 cstruct
25 lwt
26 stdlib-shims
27 ];
28
29 meta = with lib; {
30 description = "Collect runtime profiling information in CTF format";
31 homepage = "https://github.com/mirage/mirage-profile";
32 license = licenses.bsd2;
33 maintainers = with maintainers; [ vbgl ];
34 };
35}