aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/graphite_beacon/default.nix
blob: 159b09d10b91288a4ed218a2fe242aad7f56e83b (plain)
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
{ stdenv, buildPythonPackage, fetchPypi
, tornado, pyyaml, funcparserlib
}:
buildPythonPackage rec {
  pname = "graphite_beacon";
  version = "0.27.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "03bp4wyfn3xhcqyvs5hnk1n87m4smsmm1p7qp459m7j8hwpbq2ks";
  };

  propagatedBuildInputs = [ tornado pyyaml funcparserlib ];

  postPatch = ''
    substituteInPlace requirements.txt --replace "==" ">="
  '';

  meta = with stdenv.lib; {
    description = "A simple alerting application for Graphite metrics";
    homepage = "https://github.com/klen/graphite-beacon";
    maintainers = [ maintainers.offline ];
    license = licenses.mit;
  };
}