blob: f84bb3302eca4e5f7d018da24c16c57634fe265b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
{ lib
, python3
, fetchPypi
}:
python3.pkgs.buildPythonApplication rec {
pname = "alerta-server";
version = "9.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-v4+0l5Sx9RTxmNFnKCoKrWFl1xu1JIRZ/kiI6zi/y0I=";
};
propagatedBuildInputs = with python3.pkgs; [
bcrypt
blinker
cryptography
flask
flask-compress
flask-cors
mohawk
psycopg2
pyjwt
pymongo
pyparsing
python-dateutil
pytz
pyyaml
requests
requests-hawk
sentry-sdk
setuptools
];
# We can't run the tests from Nix, because they rely on the presence of a working MongoDB server
doCheck = false;
pythonImportsCheck = [
"alerta"
];
meta = with lib; {
homepage = "https://alerta.io";
description = "Alerta Monitoring System server";
mainProgram = "alertad";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}
|