blob: 9a0de6212f20dd55995e1f50e0211724598381e5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ lib, fetchurl, buildDunePackage, alcotest, fmt }:
buildDunePackage rec {
pname = "metrics";
version = "0.4.1";
minimalOCamlVersion = "4.04";
src = fetchurl {
url = "https://github.com/mirage/metrics/releases/download/v${version}/metrics-${version}.tbz";
sha256 = "sha256-d+DCD7XB0GED27DsC8YEW+48YcAK0EI8l4Uqx/PGFE0=";
};
propagatedBuildInputs = [ fmt ];
checkInputs = [ alcotest ];
doCheck = true;
meta = {
description = "Metrics infrastructure for OCaml";
homepage = "https://github.com/mirage/metrics";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}
|