2021-03-09 03:18:52 +00:00
|
|
|
{ lib
|
|
|
|
, python3
|
2023-07-15 17:15:38 +00:00
|
|
|
, fetchPypi
|
2021-03-09 03:18:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "alerta";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "8.5.3";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
src = fetchPypi {
|
2021-03-09 03:18:52 +00:00
|
|
|
inherit pname version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-ePvT2icsgv+io5aDDUr1Zhfodm4wlqh/iqXtNkFhS10=";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "alerta";
|
2021-03-09 03:18:52 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|