From abe50aa369d43e95966c12146f542f44d5fef8d1 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 2 Jan 2019 15:48:18 +0100 Subject: gnu: Add python-prometheus-client. * gnu/packages/python.scm (python-prometheus-client, python2-prometheus-client): New variables. --- gnu/packages/python.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 8613edec9f..f2b24481ef 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -7113,6 +7113,31 @@ convert an @code{.ipynb} notebook file into various static formats including: (define-public python2-nbconvert (package-with-python2 python-nbconvert)) +(define-public python-prometheus-client + (package + (name "python-prometheus-client") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "prometheus_client" version)) + (sha256 + (base32 + "0g7rpv1pq2lab1nfqdx98z9d3bqwc400alg1j4ynrpjkrbsizhg8")))) + (build-system python-build-system) + (arguments '(#:tests? #f)) ; tests are not included + (propagated-inputs + `(("python-twisted" ,python-twisted))) + (home-page "https://github.com/prometheus/client_python") + (synopsis "Python client for the Prometheus monitoring system") + (description + "This package provides a Python client for the Prometheus monitoring +system.") + (license license:asl2.0))) + +(define-public python2-prometheus-client + (package-with-python2 python-prometheus-client)) + (define-public python-notebook (package (name "python-notebook") -- cgit 1.4.1