depot/third_party/nixpkgs/pkgs/servers/monitoring/prometheus/xmpp-alerts.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

22 lines
622 B
Nix

{ 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 ];
};
}