Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 twisted, 6 whisper, 7 txamqp, 8 cachetools, 9 urllib3, 10}: 11 12buildPythonPackage rec { 13 pname = "carbon"; 14 version = "1.1.10"; 15 format = "setuptools"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-wTtbqRHMWBcM2iFN95yzwCf/BQ+EK0vp5MXT4mKX3lw="; 20 }; 21 22 # Carbon-s default installation is /opt/graphite. This env variable ensures 23 # carbon is installed as a regular python module. 24 GRAPHITE_NO_PREFIX = "True"; 25 26 propagatedBuildInputs = [ 27 twisted 28 whisper 29 txamqp 30 cachetools 31 urllib3 32 ]; 33 34 meta = with lib; { 35 homepage = "http://graphiteapp.org/"; 36 description = "Backend data caching and persistence daemon for Graphite"; 37 maintainers = with maintainers; [ 38 offline 39 basvandijk 40 ]; 41 license = licenses.asl20; 42 }; 43}