2018-08-02 16:39:57 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
|
|
|
, twisted, whisper, txamqp, cachetools, urllib3
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "carbon";
|
2020-04-06 16:09:42 +02:00
|
|
|
version = "1.1.7";
|
2018-08-02 16:39:57 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-04-06 16:09:42 +02:00
|
|
|
sha256 = "08ndphpcbdx2ab4f5jsn2y4l5p55h9wscbg7clhbyyh03r5hianr";
|
2018-08-02 16:39:57 +02:00
|
|
|
};
|
|
|
|
|
2020-03-19 20:07:44 +01:00
|
|
|
# Carbon-s default installation is /opt/graphite. This env variable ensures
|
|
|
|
# carbon is installed as a regular python module.
|
|
|
|
GRAPHITE_NO_PREFIX="True";
|
|
|
|
|
2018-08-02 16:39:57 +02:00
|
|
|
propagatedBuildInputs = [ twisted whisper txamqp cachetools urllib3 ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-03-19 20:07:44 +01:00
|
|
|
homepage = "http://graphiteapp.org/";
|
2018-08-02 16:39:57 +02:00
|
|
|
description = "Backend data caching and persistence daemon for Graphite";
|
2019-08-20 15:24:01 +02:00
|
|
|
maintainers = with maintainers; [ offline basvandijk ];
|
2018-08-02 16:39:57 +02:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|