mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 11:44:07 +00:00
29 lines
626 B
Nix
29 lines
626 B
Nix
{ 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 ];
|
|
};
|
|
}
|