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";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "8.5.2";
|
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;
|
2023-11-16 04:20:00 +00:00
|
|
|
sha256 = "sha256-5KLR+F5GtNkFXJMctJ5F4OvkQRhohd6SWB2ZFVtc/0s=";
|
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";
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|