mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
20 lines
366 B
Nix
20 lines
366 B
Nix
{ lib, buildDunePackage, metrics
|
|
, fmt, logs
|
|
}:
|
|
|
|
buildDunePackage {
|
|
pname = "metrics-rusage";
|
|
inherit (metrics) src version;
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
duneVersion = "3";
|
|
|
|
propagatedBuildInputs = [ fmt logs metrics ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = metrics.meta // {
|
|
description = "Resource usage (getrusage) sources for the Metrics library";
|
|
};
|
|
}
|