depot/third_party/nixpkgs/pkgs/development/ocaml-modules/mirage-profile/default.nix
Default email 410b979fe2 Project import generated by Copybara.
GitOrigin-RevId: a64e169e396460d6b5763a1de1dd197df8421688
2023-03-24 01:07:29 +01:00

26 lines
710 B
Nix

{ lib, fetchurl, buildDunePackage
, ppx_cstruct, stdlib-shims
, cstruct, lwt
}:
buildDunePackage rec {
pname = "mirage-profile";
version = "0.9.1";
duneVersion = "3";
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 ];
};
}