biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / admin / awslogs / default.nix
blob87285da594929b5f6f4214e67b4d7cda031ce09d
1 { lib
2 , fetchFromGitHub
3 , python3
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "awslogs";
8   version = "0.15.0";
9   pyproject = true;
11   src = fetchFromGitHub {
12     owner = "jorgebastida";
13     repo = pname;
14     rev = version;
15     sha256 = "sha256-o6xZqwlqAy01P+TZ0rB5rpEddWNUBzzHp7/cycpcwes=";
16   };
18   propagatedBuildInputs = with python3.pkgs; [
19     boto3
20     termcolor
21     python-dateutil
22     docutils
23     setuptools
24     jmespath
25   ];
28   postPatch = ''
29     substituteInPlace setup.py \
30       --replace "boto3>=1.34.75" "boto3>=1.34.58" \
31   '';
33   nativeCheckInputs = with python3.pkgs; [
34     pytestCheckHook
35   ];
37   pythonImportsCheck = [
38     "awslogs"
39   ];
41   meta = with lib; {
42     description = "AWS CloudWatch logs for Humans";
43     mainProgram = "awslogs";
44     homepage = "https://github.com/jorgebastida/awslogs";
45     license = licenses.bsd3;
46     maintainers = with maintainers; [ dbrock ];
47   };