python.pkgs.alerta-server: fix build
This commit is contained in:
parent
df12dd8ff9
commit
e5293adbb6
@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, makeWrapper
|
||||
{ stdenv, buildPythonPackage, fetchPypi, makeWrapper, pythonOlder, pyyaml
|
||||
, python-dateutil, requests, pymongo, raven, bcrypt, flask, pyjwt, flask-cors, psycopg2, pytz, flask-compress, jinja2
|
||||
}:
|
||||
|
||||
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
||||
sha256 = "5ca2783f6e9211fdebd433b9eae83fbcf75ed127dc87946257d101a7d7a465db";
|
||||
};
|
||||
|
||||
buildInputs = [ python-dateutil requests pymongo raven bcrypt flask pyjwt flask-cors psycopg2 pytz flask-compress jinja2 ];
|
||||
propagatedBuildInputs = [ python-dateutil requests pymongo raven bcrypt flask pyjwt flask-cors psycopg2 pytz flask-compress jinja2 pyyaml];
|
||||
|
||||
doCheck = false; # We can't run the tests from Nix, because they rely on the presence of a working MongoDB server
|
||||
|
||||
@ -19,6 +19,8 @@ buildPythonPackage rec {
|
||||
wrapProgram $out/bin/alertad --prefix PYTHONPATH : "$PYTHONPATH"
|
||||
'';
|
||||
|
||||
disabled = pythonOlder "3.5";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://alerta.io;
|
||||
description = "Alerta Monitoring System server";
|
||||
|
Loading…
Reference in New Issue
Block a user