guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/20: gnu: Add python-prometheus-client.


From: guix-commits
Subject: 11/20: gnu: Add python-prometheus-client.
Date: Wed, 2 Jan 2019 10:34:32 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit abe50aa369d43e95966c12146f542f44d5fef8d1
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Jan 2 15:48:18 2019 +0100

    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 8613ede..f2b2448 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]