ocamlPackages.metrics-mirage: init at 0.2.0

This commit is contained in:
Vincent Laporte 2020-11-13 11:57:32 +01:00 committed by Vincent Laporte
parent 7346475c9f
commit 229060146d
2 changed files with 16 additions and 0 deletions

View file

@ -0,0 +1,14 @@
{ buildDunePackage, metrics, metrics-influx
, cstruct, ipaddr, logs, lwt, mirage-clock, mirage-stack
}:
buildDunePackage {
pname = "metrics-mirage";
inherit (metrics) version useDune2 src;
propagatedBuildInputs = [ cstruct ipaddr logs lwt metrics metrics-influx mirage-clock mirage-stack ];
meta = metrics.meta // {
description = "Mirage backend for the Metrics library";
};
}

View file

@ -535,6 +535,8 @@ let
metrics-lwt = callPackage ../development/ocaml-modules/metrics/lwt.nix { };
metrics-mirage = callPackage ../development/ocaml-modules/metrics/mirage.nix { };
metrics-unix = callPackage ../development/ocaml-modules/metrics/unix.nix {
inherit (pkgs) gnuplot;
};