ocamlPackages.metrics: 0.1.0 → 0.2.0
This commit is contained in:
parent
b99a5b810d
commit
9785d7c7aa
|
@ -2,18 +2,20 @@
|
|||
|
||||
buildDunePackage rec {
|
||||
pname = "metrics";
|
||||
version = "0.1.0";
|
||||
version = "0.2.0";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimumOCamlVersion = "4.04";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/metrics/releases/download/${version}/metrics-${version}.tbz";
|
||||
sha256 = "0jy88anrx3rh19046rrbrjmx922zvz3wlqkk8asilqv9pbvpnp1a";
|
||||
sha256 = "0j215cji3n78lghzi9m6kgr3r1s91v681hfnn7cgybb31d7gjkqg";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ fmt ];
|
||||
|
||||
checkInputs = lib.optional doCheck alcotest;
|
||||
checkInputs = [ alcotest ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{ buildDunePackage, ocaml_lwt, metrics }:
|
||||
{ buildDunePackage, logs, ocaml_lwt, metrics }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "metrics-lwt";
|
||||
|
||||
inherit (metrics) version src;
|
||||
inherit (metrics) version useDune2 src;
|
||||
|
||||
propagatedBuildInputs = [ ocaml_lwt metrics ];
|
||||
propagatedBuildInputs = [ logs ocaml_lwt metrics ];
|
||||
|
||||
meta = metrics.meta // {
|
||||
description = "Lwt backend for the Metrics library";
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
{ lib, buildDunePackage, gnuplot, ocaml_lwt, metrics, metrics-lwt, mtime, uuidm }:
|
||||
{ buildDunePackage, gnuplot, ocaml_lwt, metrics, metrics-lwt, mtime, uuidm }:
|
||||
|
||||
buildDunePackage rec {
|
||||
|
||||
pname = "metrics-unix";
|
||||
|
||||
inherit (metrics) version src;
|
||||
inherit (metrics) version useDune2 src;
|
||||
|
||||
propagatedBuildInputs = [ gnuplot ocaml_lwt metrics mtime uuidm ];
|
||||
|
||||
checkInputs = lib.optional doCheck metrics-lwt;
|
||||
checkInputs = [ metrics-lwt ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue