ocamlPackages.metrics: init at 0.1.0

This commit is contained in:
Vincent Laporte 2019-11-27 18:34:09 +00:00 committed by Vincent Laporte
parent d674a64c85
commit 5d0dd4e536
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib, fetchurl, buildDunePackage, alcotest, fmt }:
buildDunePackage rec {
pname = "metrics";
version = "0.1.0";
minimumOCamlVersion = "4.04";
src = fetchurl {
url = "https://github.com/mirage/metrics/releases/download/${version}/metrics-${version}.tbz";
sha256 = "0jy88anrx3rh19046rrbrjmx922zvz3wlqkk8asilqv9pbvpnp1a";
};
propagatedBuildInputs = [ fmt ];
checkInputs = lib.optional doCheck alcotest;
doCheck = true;
meta = {
description = "Metrics infrastructure for OCaml";
homepage = "https://github.com/mirage/metrics";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}

View File

@ -464,6 +464,8 @@ let
merlin-extend = callPackage ../development/ocaml-modules/merlin-extend { };
metrics = callPackage ../development/ocaml-modules/metrics { };
mezzo = callPackage ../development/compilers/mezzo { };
minisat = callPackage ../development/ocaml-modules/minisat { };