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

31 lines
768 B
Nix
Raw Normal View History

{ 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-02-22 05:37:42 +01:00
boto3 termcolor dateutil docutils setuptools jmespath
];
checkInputs = [ python3Packages.pytestCheckHook ];
disabledTests = [
"test_main_get_query"
"test_main_get_with_color"
2016-09-07 16:06:21 +02:00
];
meta = with lib; {
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;
};
}