nixpkgs/pkgs/servers/monitoring/alerta/default.nix

42 lines
815 B
Nix
Raw Normal View History

{ lib
, python3
2018-11-08 21:31:42 +00:00
}:
python3.pkgs.buildPythonApplication rec {
2018-11-08 21:31:42 +00:00
pname = "alerta-server";
version = "8.3.3";
2018-11-08 21:31:42 +00:00
src = python3.pkgs.fetchPypi {
2018-11-08 21:31:42 +00:00
inherit pname version;
sha256 = "a2713a31c6e326c774a3ee0328f424f944b951935ff1b893a4a66598d61c5a97";
2018-11-08 21:31:42 +00:00
};
propagatedBuildInputs = with python3.pkgs; [
bcrypt
blinker
flask
flask-compress
flask-cors
mohawk
psycopg2
pyjwt
pymongo
python-dateutil
pytz
pyyaml
requests
requests-hawk
sentry-sdk
];
2018-11-08 21:31:42 +00:00
doCheck = false; # We can't run the tests from Nix, because they rely on the presence of a working MongoDB server
disabled = python3.pythonOlder "3.6";
2019-02-17 11:49:07 +00:00
meta = with lib; {
homepage = "https://alerta.io";
2018-11-08 21:31:42 +00:00
description = "Alerta Monitoring System server";
license = licenses.asl20;
};
}