summary refs log tree commit diff
path: root/pkgs/development/python-modules/carbon
diff options
context:
space:
mode:
authorBas van Dijk <v.dijk.bas@gmail.com>2018-08-02 16:39:57 +0200
committerRobert Schütz <rschuetz17@gmail.com>2018-08-02 16:39:57 +0200
commit0aae3fda066752a84762ccc5438cae1b22f07b5e (patch)
tree883be1af541724b0c9641c8e174a11cfbe1600c3 /pkgs/development/python-modules/carbon
parent86b5b1e1742293eb5ce0c47dacdb72a3b10b43ac (diff)
downloadnixpkgs-0aae3fda066752a84762ccc5438cae1b22f07b5e.tar
nixpkgs-0aae3fda066752a84762ccc5438cae1b22f07b5e.tar.gz
nixpkgs-0aae3fda066752a84762ccc5438cae1b22f07b5e.tar.bz2
nixpkgs-0aae3fda066752a84762ccc5438cae1b22f07b5e.tar.lz
nixpkgs-0aae3fda066752a84762ccc5438cae1b22f07b5e.tar.xz
nixpkgs-0aae3fda066752a84762ccc5438cae1b22f07b5e.tar.zst
nixpkgs-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/carbon')
-rw-r--r--pkgs/development/python-modules/carbon/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/carbon/default.nix b/pkgs/development/python-modules/carbon/default.nix
new file mode 100644
index 00000000000..df14f44f0b0
--- /dev/null
+++ b/pkgs/development/python-modules/carbon/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, buildPythonPackage, fetchPypi, isPy3k
+, twisted, whisper, txamqp, cachetools, urllib3
+}:
+
+buildPythonPackage rec {
+  pname = "carbon";
+  version = "1.1.3";
+
+  disabled = isPy3k;
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1s7327p30w4l9ak4gc7m5ga521233179n2lr3j0ggfbmfhd6blky";
+  };
+
+  propagatedBuildInputs = [ twisted whisper txamqp cachetools urllib3 ];
+
+  meta = with stdenv.lib; {
+    homepage = http://graphite.wikidot.com/;
+    description = "Backend data caching and persistence daemon for Graphite";
+    maintainers = with maintainers; [ rickynils offline basvandijk ];
+    license = licenses.asl20;
+  };
+}