3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/admin/awslogs/default.nix

31 lines
768 B
Nix
Raw Normal View History

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