diff options
author | Bas van Dijk <v.dijk.bas@gmail.com> | 2018-08-02 16:39:57 +0200 |
---|---|---|
committer | Robert Schütz <rschuetz17@gmail.com> | 2018-08-02 16:39:57 +0200 |
commit | 0aae3fda066752a84762ccc5438cae1b22f07b5e (patch) | |
tree | 883be1af541724b0c9641c8e174a11cfbe1600c3 /pkgs/development/python-modules/influxgraph | |
parent | 86b5b1e1742293eb5ce0c47dacdb72a3b10b43ac (diff) | |
download | nixlib-0aae3fda066752a84762ccc5438cae1b22f07b5e.tar nixlib-0aae3fda066752a84762ccc5438cae1b22f07b5e.tar.gz nixlib-0aae3fda066752a84762ccc5438cae1b22f07b5e.tar.bz2 nixlib-0aae3fda066752a84762ccc5438cae1b22f07b5e.tar.lz nixlib-0aae3fda066752a84762ccc5438cae1b22f07b5e.tar.xz nixlib-0aae3fda066752a84762ccc5438cae1b22f07b5e.tar.zst nixlib-0aae3fda066752a84762ccc5438cae1b22f07b5e.zip |
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`
Diffstat (limited to 'pkgs/development/python-modules/influxgraph')
-rw-r--r-- | pkgs/development/python-modules/influxgraph/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/influxgraph/default.nix b/pkgs/development/python-modules/influxgraph/default.nix new file mode 100644 index 000000000000..4f7ba65a27f3 --- /dev/null +++ b/pkgs/development/python-modules/influxgraph/default.nix @@ -0,0 +1,30 @@ +{ stdenv, buildPythonPackage, fetchPypi, isPy3k +, influxdb, graphite_api, memcached, gnugrep +}: + +buildPythonPackage rec { + pname = "influxgraph"; + version = "1.5.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "0l33sfwdh4bfprmzp2kx0d9098g6yxbnhyyx9qr3kzczpm0jg9vy"; + }; + + patchPhase = stdenv.lib.optionalString isPy3k '' + sed 's/python-memcached/python3-memcached/' \ + -i ./influxgraph.egg-info/requires.txt \ + -i ./setup.py + ''; + + propagatedBuildInputs = [ influxdb graphite_api memcached ]; + + passthru.moduleName = "influxgraph.InfluxDBFinder"; + + meta = with stdenv.lib; { + description = "InfluxDB storage plugin for Graphite-API"; + homepage = https://github.com/InfluxGraph/influxgraph; + license = licenses.asl20; + maintainers = with maintainers; [ basvandijk ]; + }; +} |