Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / carbon / default.nix
blobb651a654d5ece866aa0e912207bdbcc230542c71
1 { lib, buildPythonPackage, fetchPypi, isPy3k
2 , twisted, whisper, txamqp, cachetools, urllib3
3 }:
5 buildPythonPackage rec {
6   pname = "carbon";
7   version = "1.1.7";
9   src = fetchPypi {
10     inherit pname version;
11     sha256 = "08ndphpcbdx2ab4f5jsn2y4l5p55h9wscbg7clhbyyh03r5hianr";
12   };
14   # Carbon-s default installation is /opt/graphite. This env variable ensures
15   # carbon is installed as a regular python module.
16   GRAPHITE_NO_PREFIX="True";
18   propagatedBuildInputs = [ twisted whisper txamqp cachetools urllib3 ];
20   meta = with lib; {
21     homepage = "http://graphiteapp.org/";
22     description = "Backend data caching and persistence daemon for Graphite";
23     maintainers = with maintainers; [ offline basvandijk ];
24     license = licenses.asl20;
25   };