uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
46
pkgs/servers/monitoring/alerta/default.nix
Normal file
46
pkgs/servers/monitoring/alerta/default.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
{ lib
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "alerta-server";
|
||||
version = "8.7.0";
|
||||
|
||||
src = python3.pkgs.fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-EM3owmj+6gFjU0ARaQP3FLYXliGaGCRSaLgkiPwhGdU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
bcrypt
|
||||
blinker
|
||||
flask
|
||||
flask-compress
|
||||
flask-cors
|
||||
mohawk
|
||||
psycopg2
|
||||
pyjwt
|
||||
pymongo
|
||||
pyparsing
|
||||
python-dateutil
|
||||
pytz
|
||||
pyyaml
|
||||
requests
|
||||
requests-hawk
|
||||
sentry-sdk
|
||||
];
|
||||
|
||||
# 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";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue