mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 17:41:12 +00:00
f3282c8d1e
* treewide: remove unused variables * making ofborg happy
30 lines
677 B
Nix
30 lines
677 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, six, click, requests, pytz, tabulate, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "alerta";
|
|
version = "6.5.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "f9f0f8f800798fae83c05dd52dc2f06bd77fb318c784c4b44e3acfba81338881";
|
|
};
|
|
|
|
propagatedBuildInputs = [ six click requests pytz tabulate ];
|
|
|
|
doCheck = false;
|
|
|
|
postInstall = ''
|
|
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";
|
|
license = licenses.asl20;
|
|
};
|
|
}
|