mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +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";
|
|
};
|
|
}
|