nixpkgs/pkgs/tools/admin/awslogs/default.nix

31 lines
768 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, python3Packages }:
2016-09-07 14:06:21 +00:00
2018-08-03 17:52:14 +00:00
python3Packages.buildPythonApplication rec {
pname = "awslogs";
2021-02-22 04:37:42 +00:00
version = "0.14.0";
2016-09-07 14:06:21 +00:00
src = fetchFromGitHub {
owner = "jorgebastida";
repo = "awslogs";
2019-09-08 23:38:31 +00:00
rev = version;
2021-02-22 04:37:42 +00:00
sha256 = "1gyry8b64psvmjcb2lb3yilpa7b17yllga06svls4hi69arvrd8f";
2016-09-07 14:06:21 +00:00
};
2018-08-03 17:52:14 +00: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 14:06:21 +00:00
];
meta = with lib; {
homepage = "https://github.com/jorgebastida/awslogs";
2016-09-07 14:06:21 +00:00
description = "AWS CloudWatch logs for Humans";
maintainers = with maintainers; [ dbrock ];
license = licenses.bsd3;
};
}