2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, python3Packages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "awslogs";
|
2021-02-22 21:28:39 +00:00
|
|
|
version = "0.14.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jorgebastida";
|
|
|
|
repo = "awslogs";
|
|
|
|
rev = version;
|
2021-02-22 21:28:39 +00:00
|
|
|
sha256 = "1gyry8b64psvmjcb2lb3yilpa7b17yllga06svls4hi69arvrd8f";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
2021-07-04 02:40:35 +00:00
|
|
|
boto3 termcolor python-dateutil docutils setuptools jmespath
|
2021-02-22 21:28:39 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [ python3Packages.pytestCheckHook ];
|
|
|
|
disabledTests = [
|
|
|
|
"test_main_get_query"
|
|
|
|
"test_main_get_with_color"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/jorgebastida/awslogs";
|
|
|
|
description = "AWS CloudWatch logs for Humans";
|
|
|
|
maintainers = with maintainers; [ dbrock ];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|