nixpkgs/pkgs/development/ocaml-modules/metrics/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
632 B
Nix
Raw Normal View History

2019-11-27 18:34:09 +00:00
{ lib, fetchurl, buildDunePackage, alcotest, fmt }:
buildDunePackage rec {
pname = "metrics";
version = "0.4.0";
2020-11-12 07:19:49 +00:00
minimalOCamlVersion = "4.04";
2019-11-27 18:34:09 +00:00
src = fetchurl {
url = "https://github.com/mirage/metrics/releases/download/v${version}/metrics-${version}.tbz";
sha256 = "sha256-kbh1WktQkDcXE8O1WRm+vtagVfSql8S5gr0bXn/jia8=";
2019-11-27 18:34:09 +00:00
};
propagatedBuildInputs = [ fmt ];
2020-11-12 07:19:49 +00:00
checkInputs = [ alcotest ];
2019-11-27 18:34:09 +00:00
doCheck = true;
meta = {
description = "Metrics infrastructure for OCaml";
homepage = "https://github.com/mirage/metrics";
license = lib.licenses.isc;
maintainers = [ lib.maintainers.vbgl ];
};
}