graphite: 1.0.2 -> 1.1.3 & moved dependencies to python-modules (#44276)
Fixes #30891 * Upgrade `graphite-web`, `carbon` and `whisper` from 1.0.2 -> 1.1.3. * Replaced the deprecated `pythonPackages.graphite_influxdb` with `pythonPackages.influxgraph.` * Renamed `pythonPackages.graphite_web` to `pythonPackages.graphite-web` to be consistent with the Python package name. * Replaced the unmaintained `pythonPackages.graphite_pager` with `pythonPackages.graphitepager` * Moved all new packages from `python-packages.nix` to `pkgs/development/python-modules`
This commit is contained in:
committed by
Robert Schütz
parent
86b5b1e174
commit
0aae3fda06
25
pkgs/development/python-modules/graphite_beacon/default.nix
Normal file
25
pkgs/development/python-modules/graphite_beacon/default.nix
Normal file
@@ -0,0 +1,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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user