From: Ricardo Wurmus <rekado@elephly.net>
To: 29768@debbugs.gnu.org
Cc: Ricardo Wurmus <rekado@elephly.net>
Subject: [bug#29768] [PATCH 4/5] gnu: Add python2-carbon.
Date: Tue, 19 Dec 2017 09:04:32 +0100 [thread overview]
Message-ID: <20171219080433.10392-4-rekado@elephly.net> (raw)
In-Reply-To: <20171219080433.10392-1-rekado@elephly.net>
* gnu/packages/monitoring.scm (python2-carbon): New variable.
---
gnu/packages/monitoring.scm | 34 +++++++++++++++++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/monitoring.scm b/gnu/packages/monitoring.scm
index f9701f60f..b74dc18b9 100644
--- a/gnu/packages/monitoring.scm
+++ b/gnu/packages/monitoring.scm
@@ -29,7 +29,8 @@
#:use-module (gnu packages gd)
#:use-module (gnu packages image)
#:use-module (gnu packages mail)
- #:use-module (gnu packages perl))
+ #:use-module (gnu packages perl)
+ #:use-module (gnu packages python))
(define-public nagios
(package
@@ -149,3 +150,34 @@ historical data.")
(define-public python2-whisper
(package-with-python2 python-whisper))
+
+(define-public python2-carbon
+ (package
+ (name "python2-carbon")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "carbon" version))
+ (sha256
+ (base32
+ "142smpmgbnjinvfb6s4ijazish4vfgzyd8zcmdkh55y051fkixkn"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2 ; only supports Python 2
+ #:phases
+ (modify-phases %standard-phases
+ ;; Don't install to /opt
+ (add-after 'unpack 'do-not-install-to-/opt
+ (lambda _ (setenv "GRAPHITE_NO_PREFIX" "1") #t)))))
+ (propagated-inputs
+ `(("python2-whisper" ,python2-whisper)
+ ("python2-configparser" ,python2-configparser)
+ ("python2-txamqp" ,python2-txamqp)))
+ (home-page "http://graphiteapp.org/")
+ (synopsis "Backend data caching and persistence daemon for Graphite")
+ (description "Carbon is a backend data caching and persistence daemon for
+Graphite. Carbon is responsible for receiving metrics over the network,
+caching them in memory for \"hot queries\" from the Graphite-Web application,
+and persisting them to disk using the Whisper time-series library.")
+ (license license:asl2.0)))
--
2.15.0
next prev parent reply other threads:[~2017-12-19 8:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-18 22:44 [bug#29768] [PATCH 0/5] Graphite Ricardo Wurmus
2017-12-19 8:04 ` [bug#29768] [PATCH 1/5] gnu: Add python-txamqp Ricardo Wurmus
2017-12-19 8:04 ` [bug#29768] [PATCH 2/5] gnu: Add python-django-tagging Ricardo Wurmus
2017-12-19 8:04 ` [bug#29768] [PATCH 3/5] gnu: Add python-whisper Ricardo Wurmus
2017-12-19 8:04 ` Ricardo Wurmus [this message]
2017-12-19 8:04 ` [bug#29768] [PATCH 5/5] gnu: Add python2-graphite-web Ricardo Wurmus
2018-01-21 18:39 ` bug#29768: " Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171219080433.10392-4-rekado@elephly.net \
--to=rekado@elephly.net \
--cc=29768@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).