nixpkgs-suyu/pkgs/servers/monitoring/alerta/client.nix
2022-04-23 16:22:45 +02:00

27 lines
566 B
Nix

{ lib
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "alerta";
version = "8.5.1";
src = python3.pkgs.fetchPypi {
inherit pname version;
sha256 = "sha256-O13Ic2iHjNF/llp6vdaAiiWExcTBPsz46GAWY3oGDY8=";
};
propagatedBuildInputs = with python3.pkgs; [
six click requests requests-hawk pytz tabulate
];
doCheck = false;
disabled = python3.pythonOlder "3.6";
meta = with lib; {
homepage = "https://alerta.io";
description = "Alerta Monitoring System command-line interface";
license = licenses.asl20;
};
}