mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
1f7ab584cf
ocamlPackages.metrics-mirage: remove at 0.2.0 ocamlPackages.metrics-rusage: init at 0.4.0
28 lines
632 B
Nix
28 lines
632 B
Nix
{ lib, fetchurl, buildDunePackage, alcotest, fmt }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "metrics";
|
|
version = "0.4.0";
|
|
|
|
minimalOCamlVersion = "4.04";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/metrics/releases/download/v${version}/metrics-${version}.tbz";
|
|
sha256 = "sha256-kbh1WktQkDcXE8O1WRm+vtagVfSql8S5gr0bXn/jia8=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
|
|
}
|