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