2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k
|
2018-08-02 16:39:57 +02:00
|
|
|
, twisted, whisper, txamqp, cachetools, urllib3
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "carbon";
|
2021-06-18 23:47:10 +02:00
|
|
|
version = "1.1.8";
|
2018-08-02 16:39:57 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 23:47:10 +02:00
|
|
|
sha256 = "95918c4b14e1c525d9499554d5e03b349f87e0c2bc17ec5c64d18679a30b69f1";
|
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 ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with 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;
|
|
|
|
};
|
|
|
|
}
|