1{ stdenv, buildPythonPackage, fetchPypi
2, tornado, pyyaml, funcparserlib
3}:
4buildPythonPackage rec {
5 pname = "graphite_beacon";
6 version = "0.27.0";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "03bp4wyfn3xhcqyvs5hnk1n87m4smsmm1p7qp459m7j8hwpbq2ks";
11 };
12
13 propagatedBuildInputs = [ tornado pyyaml funcparserlib ];
14
15 postPatch = ''
16 substituteInPlace requirements.txt --replace "==" ">="
17 '';
18
19 meta = with stdenv.lib; {
20 description = "A simple alerting application for Graphite metrics";
21 homepage = https://github.com/klen/graphite-beacon;
22 maintainers = [ maintainers.offline ];
23 license = licenses.mit;
24 };
25}