Files
2026-05-12 13:28:15 -05:00

36 lines
767 B
Nix

{
lib,
fetchurl,
buildDunePackage,
ppx_cstruct,
stdlib-shims,
cstruct,
lwt,
}:
buildDunePackage (finalAttrs: {
pname = "mirage-profile";
version = "0.9.1";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/mirage-profile/releases/download/v${finalAttrs.version}/mirage-profile-v${finalAttrs.version}.tbz";
sha256 = "0lh3591ad4v7nxpd410b75idmgdq668mqdilvkg4avrwqw1wzdib";
};
buildInputs = [ ppx_cstruct ];
propagatedBuildInputs = [
cstruct
lwt
stdlib-shims
];
meta = {
description = "Collect runtime profiling information in CTF format";
homepage = "https://github.com/mirage/mirage-profile";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ vbgl ];
};
})