Merge pull request #4579 from offlinehacker/pkgs/pythonPackages/graphitePager

pythonPackages: add graphite pager
This commit is contained in:
Jaka Hudoklin 2014-10-20 13:24:54 +02:00
commit 3bd72fc71f

View File

@ -5862,6 +5862,16 @@ let
});
pagerduty = buildPythonPackage rec {
name = "pagerduty-${version}";
version = "0.2.1";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pagerduty/pagerduty-${version}.tar.gz";
md5 = "8109a330d16751a7f4041c0ccedec787";
};
};
pandas = buildPythonPackage rec {
name = "pandas-0.14.0";
@ -6995,6 +7005,18 @@ let
doCheck = false;
});
python_simple_hipchat = buildPythonPackage rec {
name = "python-simple-hipchat-${version}";
version = "0.1";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/python-simple-hipchat/python-simple-hipchat-${version}.zip";
md5 = "3806b3729a021511bac065360832f197";
};
buildInputs = [ pkgs.unzip ];
};
python_keyczar = buildPythonPackage rec {
name = "python-keyczar-0.71c";
@ -10905,6 +10927,33 @@ let
};
};
graphite_pager = buildPythonPackage rec {
name = "graphite-pager-${version}";
version = "2bbfe91220ec1e0ca1cdf4b5564386482a44ed7d";
src = pkgs.fetchgit {
url = "https://github.com/offlinehacker/graphite-pager.git";
sha256 = "aa932f941efe4ed89971fe7572218b020d1a144259739ef78db6397b968eef62";
rev = version;
};
buildInputs = with self; [ nose mock ];
propagatedBuildInputs = with self; [
jinja2 pyyaml redis requests pagerduty
python_simple_hipchat pushbullet
];
patchPhase = "> requirements.txt";
checkPhase = "nosetests";
meta = {
description = "A simple alerting application for Graphite metrics";
homepage = https://github.com/seatgeek/graphite-pager;
maintainers = maintainers.offline;
license = licenses.bsd2;
};
};
pyspotify = buildPythonPackage rec {
name = "pyspotify-${version}";
@ -11148,6 +11197,18 @@ let
};
};
pushbullet = buildPythonPackage rec {
name = "pushbullet.py-${version}";
version = "0.5.0";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/p/pushbullet.py/pushbullet.py-0.5.0.tar.gz";
md5 = "36c83ba5f7d5208bb86c00eba633f921";
};
propagatedBuildInputs = with self; [requests websocket_client python_magic ];
};
power = buildPythonPackage rec {
name = "power-1.2";