summary refs log tree commit diff
path: root/pkgs/tools/admin/awslogs/default.nix
blob: 5b61e4828ef6fd3ae6e6544000706045b9f286c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib, fetchFromGitHub, python3Packages }:

python3Packages.buildPythonApplication rec {
  pname = "awslogs";
  version = "0.14.0";

  src = fetchFromGitHub {
    owner = "jorgebastida";
    repo = "awslogs";
    rev = version;
    sha256 = "1gyry8b64psvmjcb2lb3yilpa7b17yllga06svls4hi69arvrd8f";
  };

  propagatedBuildInputs = with python3Packages; [
    boto3 termcolor python-dateutil docutils setuptools jmespath
  ];

  checkInputs = [ python3Packages.pytestCheckHook ];
  disabledTests = [
    "test_main_get_query"
    "test_main_get_with_color"
  ];

  meta = with lib; {
    homepage = "https://github.com/jorgebastida/awslogs";
    description = "AWS CloudWatch logs for Humans";
    maintainers = with maintainers; [ dbrock ];
    license = licenses.bsd3;
  };
}