python.pkgs.alerta: fix build
This commit is contained in:
parent
ea08586abb
commit
df12dd8ff9
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, makeWrapper
|
{ stdenv, buildPythonPackage, fetchPypi, makeWrapper
|
||||||
, six, click, requests, pytz, tabulate
|
, six, click, requests, pytz, tabulate, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -11,7 +11,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "f9f0f8f800798fae83c05dd52dc2f06bd77fb318c784c4b44e3acfba81338881";
|
sha256 = "f9f0f8f800798fae83c05dd52dc2f06bd77fb318c784c4b44e3acfba81338881";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ six click requests pytz tabulate ];
|
propagatedBuildInputs = [ six click requests pytz tabulate ];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
@ -19,6 +19,8 @@ buildPythonPackage rec {
|
|||||||
wrapProgram $out/bin/alerta --prefix PYTHONPATH : "$PYTHONPATH"
|
wrapProgram $out/bin/alerta --prefix PYTHONPATH : "$PYTHONPATH"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://alerta.io;
|
homepage = https://alerta.io;
|
||||||
description = "Alerta Monitoring System command-line interface";
|
description = "Alerta Monitoring System command-line interface";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user