pythonPackages: add graphite pager

This commit is contained in:
Jaka Hudoklin 2014-10-18 13:50:26 +02:00
parent 988ed87e70
commit 2d4b3e98d9

View File

@ -5860,6 +5860,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";
@ -6994,6 +7004,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";
@ -10904,6 +10926,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}";
@ -11147,6 +11196,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";