ocamlPackages.prometheus: init at 1.2
This commit is contained in:
parent
529a420370
commit
9460430127
28
pkgs/development/ocaml-modules/prometheus/default.nix
Normal file
28
pkgs/development/ocaml-modules/prometheus/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1388,6 +1388,8 @@ let
|
||||||
|
|
||||||
process = callPackage ../development/ocaml-modules/process { };
|
process = callPackage ../development/ocaml-modules/process { };
|
||||||
|
|
||||||
|
prometheus = callPackage ../development/ocaml-modules/prometheus { };
|
||||||
|
|
||||||
progress = callPackage ../development/ocaml-modules/progress { };
|
progress = callPackage ../development/ocaml-modules/progress { };
|
||||||
|
|
||||||
promise_jsoo = callPackage ../development/ocaml-modules/promise_jsoo { };
|
promise_jsoo = callPackage ../development/ocaml-modules/promise_jsoo { };
|
||||||
|
|
Loading…
Reference in a new issue