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