push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
{
lib,
fetchurl,
buildDunePackage,
alcotest,
fmt,
}:
buildDunePackage rec {
pname = "metrics";
version = "0.5.0";
minimalOCamlVersion = "4.04";
src = fetchurl {
url = "https://github.com/mirage/metrics/releases/download/v${version}/metrics-${version}.tbz";
sha256 = "sha256-3zVjgJCdBkYbzQl+9gY8qfPFE2X0dqeXwDZktTwFcV0=";
};
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 ];
};
}

View File

@@ -0,0 +1,25 @@
{
buildDunePackage,
metrics,
duration,
fmt,
lwt,
}:
buildDunePackage {
pname = "metrics-influx";
inherit (metrics) version src;
duneVersion = "3";
propagatedBuildInputs = [
duration
fmt
lwt
metrics
];
meta = metrics.meta // {
description = "Influx reporter for the Metrics library";
};
}

View File

@@ -0,0 +1,25 @@
{
buildDunePackage,
logs,
lwt,
metrics,
}:
buildDunePackage {
pname = "metrics-lwt";
inherit (metrics) version src;
duneVersion = "3";
propagatedBuildInputs = [
logs
lwt
metrics
];
meta = metrics.meta // {
description = "Lwt backend for the Metrics library";
};
}

View File

@@ -0,0 +1,26 @@
{
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";
};
}

View File

@@ -0,0 +1,34 @@
{
buildDunePackage,
gnuplot,
lwt,
metrics,
metrics-lwt,
mtime,
uuidm,
}:
buildDunePackage {
pname = "metrics-unix";
inherit (metrics) version src;
propagatedBuildInputs = [
gnuplot
lwt
metrics
mtime
uuidm
];
nativeCheckInputs = [ gnuplot ];
checkInputs = [ metrics-lwt ];
doCheck = true;
meta = metrics.meta // {
description = "Unix backend for the Metrics library";
};
}