ocamlPackages.prometheus-app: init at 1.3

This commit is contained in:
Marijan Petričević
2025-12-10 19:36:34 +07:00
parent 2cf3c05f9c
commit 8ca02f1a5b
3 changed files with 49 additions and 1 deletions
@@ -0,0 +1,47 @@
{
buildDunePackage,
prometheus,
asetmap,
astring,
cohttp-lwt,
cohttp-lwt-unix,
cmdliner,
fmt,
logs,
lwt,
re,
alcotest,
alcotest-lwt,
}:
buildDunePackage {
pname = "prometheus-app";
inherit (prometheus)
version
src
;
propagatedBuildInputs = [
asetmap
astring
cmdliner
cohttp-lwt
cohttp-lwt-unix
fmt
logs
lwt
prometheus
re
];
doCheck = true;
checkInputs = [
alcotest
alcotest-lwt
];
meta = prometheus.meta // {
description = "A web-server reporting prometheus metrics.";
};
}
@@ -6,7 +6,6 @@
asetmap,
re,
lwt,
alcotest,
}:
buildDunePackage (finalAttrs: {
+2
View File
@@ -1767,6 +1767,8 @@ let
prometheus = callPackage ../development/ocaml-modules/prometheus { };
prometheus-app = callPackage ../development/ocaml-modules/prometheus/app.nix { };
progress = callPackage ../development/ocaml-modules/progress { };
promise_jsoo = callPackage ../development/ocaml-modules/promise_jsoo { };