depot/pkgs/development/ocaml-modules/prometheus/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

28 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 ];
};
}