2021-01-25 09:26:54 +01:00
|
|
|
{ lib, fetchFromGitHub, python3Packages }:
|
2016-09-07 16:06:21 +02:00
|
|
|
|
2018-08-03 19:52:14 +02:00
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "awslogs";
|
2021-02-22 05:37:42 +01:00
|
|
|
version = "0.14.0";
|
2016-09-07 16:06:21 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jorgebastida";
|
|
|
|
repo = "awslogs";
|
2019-09-09 01:38:31 +02:00
|
|
|
rev = version;
|
2021-02-22 05:37:42 +01:00
|
|
|
sha256 = "1gyry8b64psvmjcb2lb3yilpa7b17yllga06svls4hi69arvrd8f";
|
2016-09-07 16:06:21 +02:00
|
|
|
};
|
|
|
|
|
2018-08-03 19:52:14 +02:00
|
|
|
propagatedBuildInputs = with python3Packages; [
|
2021-07-03 13:37:24 +02:00
|
|
|
boto3 termcolor python-dateutil docutils setuptools jmespath
|
2021-02-22 05:37:42 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [ python3Packages.pytestCheckHook ];
|
|
|
|
disabledTests = [
|
|
|
|
"test_main_get_query"
|
|
|
|
"test_main_get_with_color"
|
2016-09-07 16:06:21 +02:00
|
|
|
];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/jorgebastida/awslogs";
|
2016-09-07 16:06:21 +02:00
|
|
|
description = "AWS CloudWatch logs for Humans";
|
|
|
|
maintainers = with maintainers; [ dbrock ];
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|