1 { buildDunePackage, gnuplot, lwt, metrics, metrics-lwt, mtime, uuidm }:
5 pname = "metrics-unix";
7 inherit (metrics) version src;
11 # Fixes https://github.com/mirage/metrics/issues/57
13 substituteInPlace src/unix/dune --replace "mtime mtime.clock" "mtime"
16 propagatedBuildInputs = [ gnuplot lwt metrics mtime uuidm ];
18 nativeCheckInputs = [ gnuplot ];
19 checkInputs = [ metrics-lwt ];
23 meta = metrics.meta // {
24 description = "Unix backend for the Metrics library";