depot/third_party/nixpkgs/pkgs/servers/monitoring/alerta/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

41 lines
815 B
Nix

{ lib
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "alerta-server";
version = "8.3.3";
src = python3.pkgs.fetchPypi {
inherit pname version;
sha256 = "a2713a31c6e326c774a3ee0328f424f944b951935ff1b893a4a66598d61c5a97";
};
propagatedBuildInputs = with python3.pkgs; [
bcrypt
blinker
flask
flask-compress
flask-cors
mohawk
psycopg2
pyjwt
pymongo
python-dateutil
pytz
pyyaml
requests
requests-hawk
sentry-sdk
];
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";
meta = with lib; {
homepage = "https://alerta.io";
description = "Alerta Monitoring System server";
license = licenses.asl20;
};
}