ocamlPackages.prometheus-app: init at 1.3
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user