1{ lib, buildPythonPackage, fetchPypi, twisted, whisper, txamqp, cachetools, urllib3 2}: 3 4buildPythonPackage rec { 5 pname = "carbon"; 6 version = "1.1.10"; 7 8 src = fetchPypi { 9 inherit pname version; 10 hash = "sha256-wTtbqRHMWBcM2iFN95yzwCf/BQ+EK0vp5MXT4mKX3lw="; 11 }; 12 13 # Carbon-s default installation is /opt/graphite. This env variable ensures 14 # carbon is installed as a regular python module. 15 GRAPHITE_NO_PREFIX="True"; 16 17 propagatedBuildInputs = [ twisted whisper txamqp cachetools urllib3 ]; 18 19 meta = with lib; { 20 homepage = "http://graphiteapp.org/"; 21 description = "Backend data caching and persistence daemon for Graphite"; 22 maintainers = with maintainers; [ offline basvandijk ]; 23 license = licenses.asl20; 24 }; 25}