2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
2018-08-02 14:39:57 +00:00
|
|
|
, twisted, whisper, txamqp, cachetools, urllib3
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "carbon";
|
2020-04-06 14:09:42 +00:00
|
|
|
version = "1.1.7";
|
2018-08-02 14:39:57 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-04-06 14:09:42 +00:00
|
|
|
sha256 = "08ndphpcbdx2ab4f5jsn2y4l5p55h9wscbg7clhbyyh03r5hianr";
|
2018-08-02 14:39:57 +00:00
|
|
|
};
|
|
|
|
|
2020-03-19 19:07:44 +00: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 14:39:57 +00:00
|
|
|
propagatedBuildInputs = [ twisted whisper txamqp cachetools urllib3 ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-03-19 19:07:44 +00:00
|
|
|
homepage = "http://graphiteapp.org/";
|
2018-08-02 14:39:57 +00:00
|
|
|
description = "Backend data caching and persistence daemon for Graphite";
|
2019-08-20 13:24:01 +00:00
|
|
|
maintainers = with maintainers; [ offline basvandijk ];
|
2018-08-02 14:39:57 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|