1{ stdenv, buildPythonPackage, fetchPypi, isPy3k
2, twisted, whisper, txamqp, cachetools, urllib3
3}:
4
5buildPythonPackage rec {
6 pname = "carbon";
7 version = "1.1.7";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "08ndphpcbdx2ab4f5jsn2y4l5p55h9wscbg7clhbyyh03r5hianr";
12 };
13
14 # Carbon-s default installation is /opt/graphite. This env variable ensures
15 # carbon is installed as a regular python module.
16 GRAPHITE_NO_PREFIX="True";
17
18 propagatedBuildInputs = [ twisted whisper txamqp cachetools urllib3 ];
19
20 meta = with stdenv.lib; {
21 homepage = "http://graphiteapp.org/";
22 description = "Backend data caching and persistence daemon for Graphite";
23 maintainers = with maintainers; [ offline basvandijk ];
24 license = licenses.asl20;
25 };
26}