ocamlPackages.mirage-profile: init at 0.9.1

This commit is contained in:
Vincent Laporte 2020-10-31 09:09:57 +01:00 committed by ehmry
parent 878bfaa6bf
commit 49bdf0dace
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib, fetchurl, buildDunePackage
, ppx_cstruct
, 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 ];
meta = {
description = "Collect runtime profiling information in CTF format";
homepage = "https://github.com/mirage/mirage-profile";
license = lib.licenses.bsd2;
maintainers = [ lib.maintainers.vbgl ];
};
}

View file

@ -569,6 +569,8 @@ let
mirage-net = callPackage ../development/ocaml-modules/mirage-net { };
mirage-profile = callPackage ../development/ocaml-modules/mirage-profile { };
mirage-protocols = callPackage ../development/ocaml-modules/mirage-protocols { };
mirage-random = callPackage ../development/ocaml-modules/mirage-random { };