Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 python3,
4 fetchPypi,
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "alerta";
9 version = "8.5.3";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-ePvT2icsgv+io5aDDUr1Zhfodm4wlqh/iqXtNkFhS10=";
15 };
16
17 propagatedBuildInputs = with python3.pkgs; [
18 six
19 click
20 requests
21 requests-hawk
22 pytz
23 tabulate
24 ];
25
26 doCheck = false;
27
28 disabled = python3.pythonOlder "3.6";
29
30 meta = with lib; {
31 homepage = "https://alerta.io";
32 description = "Alerta Monitoring System command-line interface";
33 mainProgram = "alerta";
34 license = licenses.asl20;
35 };
36}