diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2020-02-02 18:46:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-02 18:46:53 +0100 |
commit | 5c2a7d0f07e80ebb8bcb8a31738f116fd9b7e400 (patch) | |
tree | 7c81da92bcac793c8d20d72c08df3c629295c9f8 /pkgs/servers | |
parent | 727abb55c767680ce14fb31f327c9b4be3544a07 (diff) | |
parent | add880c5e8c3bab373a456e78c078fa9fea2b4cd (diff) |
Merge pull request #79015 from mayflower/pkg/prometheus-xmpp-alerts
prometheus-xmpp-alerts: init at 0.4.2
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/monitoring/prometheus/xmpp-alerts.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/servers/monitoring/prometheus/xmpp-alerts.nix b/pkgs/servers/monitoring/prometheus/xmpp-alerts.nix new file mode 100644 index 0000000000000..93e6f1767ada4 --- /dev/null +++ b/pkgs/servers/monitoring/prometheus/xmpp-alerts.nix @@ -0,0 +1,22 @@ +{ lib, fetchFromGitHub, pythonPackages }: + +pythonPackages.buildPythonApplication rec { + pname = "prometheus-xmpp-alerts"; + version = "0.4.2"; + + src = fetchFromGitHub { + owner = "jelmer"; + repo = pname; + rev = version; + sha256 = "17aq6v4ahnga82r350kx1y8i7zgikpzmwzaacj7a339kh8hxkh63"; + }; + + propagatedBuildInputs = with pythonPackages; [ slixmpp prometheus_client pyyaml ]; + + meta = { + description = "XMPP Web hook for Prometheus"; + homepage = "https://github.com/jelmer/prometheus-xmpp-alerts"; + maintainers = with lib.maintainers; [ fpletz ]; + license = with lib.licenses; [ asl20 ]; + }; +} |