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";
|
2022-07-16 10:59:01 +00:00
|
|
|
version = "1.1.10";
|
2018-08-02 14:39:57 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-07-16 10:59:01 +00:00
|
|
|
sha256 = "sha256-wTtbqRHMWBcM2iFN95yzwCf/BQ+EK0vp5MXT4mKX3lw=";
|
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;
|
|
|
|
};
|
|
|
|
}
|