python.pkgs.alerta: fix build

This commit is contained in:
Frederik Rietdijk 2019-02-17 12:48:56 +01:00
parent ea08586abb
commit df12dd8ff9

View File

@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi, makeWrapper
, six, click, requests, pytz, tabulate
, six, click, requests, pytz, tabulate, pythonOlder
}:
buildPythonPackage rec {
@ -11,7 +11,7 @@ buildPythonPackage rec {
sha256 = "f9f0f8f800798fae83c05dd52dc2f06bd77fb318c784c4b44e3acfba81338881";
};
buildInputs = [ six click requests pytz tabulate ];
propagatedBuildInputs = [ six click requests pytz tabulate ];
doCheck = false;
@ -19,6 +19,8 @@ buildPythonPackage rec {
wrapProgram $out/bin/alerta --prefix PYTHONPATH : "$PYTHONPATH"
'';
disabled = pythonOlder "3.5";
meta = with stdenv.lib; {
homepage = https://alerta.io;
description = "Alerta Monitoring System command-line interface";