2021-11-12 09:22:34 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, twisted, whisper, txamqp, cachetools, urllib3
|
2018-08-02 14:39:57 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "carbon";
|
2021-06-18 21:47:10 +00:00
|
|
|
version = "1.1.8";
|
2018-08-02 14:39:57 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 21:47:10 +00:00
|
|
|
sha256 = "95918c4b14e1c525d9499554d5e03b349f87e0c2bc17ec5c64d18679a30b69f1";
|
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;
|
|
|
|
};
|
|
|
|
}
|