dev-ml/prometheus - 1.3 (nest)

Search

Package Information

Description:
OCaml library for reporting metrics to a Prometheus server
Homepage:
https://github.com/mirage/prometheus
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
1.3 8 ~amd64 0/1.3
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DUNE_PKG_NAME="prometheus prometheus-app"

inherit dune

DESCRIPTION="OCaml library for reporting metrics to a Prometheus server"
HOMEPAGE="https://github.com/mirage/prometheus"
SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="+ocamlopt test"
RESTRICT="test" # alcotest doesn't provide alcotest-lwt

RDEPEND="dev-ml/asetmap:0=[ocamlopt?]
	dev-ml/astring:0=
	dev-ml/cmdliner:0=[ocamlopt?]
	dev-ml/cohttp:0=[ocamlopt?]
	dev-ml/fmt:0=[ocamlopt?]
	dev-ml/logs:0=[ocamlopt?]
	dev-ml/lwt:0=[ocamlopt?]
	dev-ml/re:0=[ocamlopt?]"
BDEPEND="test? ( dev-ml/alcotest )"

USE Flags

ocamlopt
Default: Enabled (+)

Dependencies

RDEPEND

dev-ml/asetmap:0=[ocamlopt?]
	dev-ml/astring:0=
	dev-ml/cmdliner:0=[ocamlopt?]
	dev-ml/cohttp:0=[ocamlopt?]
	dev-ml/fmt:0=[ocamlopt?]
	dev-ml/logs:0=[ocamlopt?]
	dev-ml/lwt:0=[ocamlopt?]
	dev-ml/re:0=[ocamlopt?]

BDEPEND

test? ( dev-ml/alcotest )

Manifest for 1.3

Type File Size Source URLs
DIST prometheus-1.3.tar.gz 17205 bytes https://github.com/mirage/prometheus/archive/v1.3.tar.gz