blob: 74440cc504dee866db479e00fc9bebac3ce4733e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{
lib,
buildPythonPackage,
fetchPypi,
twisted,
whisper,
txamqp,
cachetools,
urllib3,
nixosTests,
}:
buildPythonPackage rec {
pname = "carbon";
version = "1.1.10";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-wTtbqRHMWBcM2iFN95yzwCf/BQ+EK0vp5MXT4mKX3lw=";
};
# 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
];
passthru.tests = {
inherit (nixosTests) graphite;
};
meta = with lib; {
homepage = "http://graphiteapp.org/";
description = "Backend data caching and persistence daemon for Graphite";
maintainers = with maintainers; [
offline
basvandijk
];
license = licenses.asl20;
};
}
|