2021-12-06 16:07:01 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, twisted, whisper, txamqp, cachetools, urllib3
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "carbon";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "1.1.10";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-15 16:39:30 +00:00
|
|
|
hash = "sha256-wTtbqRHMWBcM2iFN95yzwCf/BQ+EK0vp5MXT4mKX3lw=";
|
2020-04-24 23:36:52 +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";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ twisted whisper txamqp cachetools urllib3 ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://graphiteapp.org/";
|
|
|
|
description = "Backend data caching and persistence daemon for Graphite";
|
|
|
|
maintainers = with maintainers; [ offline basvandijk ];
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|