3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.prometheus: init at 1.2

This commit is contained in:
Laurent Canis 2023-04-28 11:00:12 -04:00 committed by Ulrik Strid
parent 529a420370
commit 9460430127
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ lib, fetchurl, buildDunePackage, astring, asetmap, fmt, re, lwt, alcotest }:
buildDunePackage rec {
pname = "prometheus";
version = "1.2";
src = fetchurl {
url = "https://github.com/mirage/prometheus/releases/download/v${version}/prometheus-${version}.tbz";
sha256 = "sha256-g2Q6ApprbecdFANO7i6U/v8dCHVcSkHVg9wVMKtVW8s=";
};
duneVersion = "3";
propagatedBuildInputs = [
astring
asetmap
fmt
re
lwt
alcotest
];
meta = {
description = "Client library for Prometheus monitoring";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.ulrikstrid ];
};
}

View file

@ -1388,6 +1388,8 @@ let
process = callPackage ../development/ocaml-modules/process { };
prometheus = callPackage ../development/ocaml-modules/prometheus { };
progress = callPackage ../development/ocaml-modules/progress { };
promise_jsoo = callPackage ../development/ocaml-modules/promise_jsoo { };