awslogs: 0.14.0 -> 0.15.0

This commit is contained in:
Dhananjay Balan 2024-05-21 14:56:27 +02:00 committed by Sandro Jäckel
parent b5e9718b7d
commit 6360b91131
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -5,14 +5,14 @@
python3.pkgs.buildPythonApplication rec {
pname = "awslogs";
version = "0.14.0";
format = "setuptools";
version = "0.15.0";
pyproject = true;
src = fetchFromGitHub {
owner = "jorgebastida";
repo = pname;
rev = version;
sha256 = "sha256-DrW8s0omQqLp1gaoR6k/YR11afRjUbGYrFtfYhby2b8=";
sha256 = "sha256-o6xZqwlqAy01P+TZ0rB5rpEddWNUBzzHp7/cycpcwes=";
};
propagatedBuildInputs = with python3.pkgs; [
@ -24,19 +24,14 @@ python3.pkgs.buildPythonApplication rec {
jmespath
];
nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
];
postPatch = ''
substituteInPlace setup.py \
--replace "jmespath>=0.7.1,<1.0.0" "jmespath>=0.7.1" \
--replace '>=3.5.*' '>=3.5'
--replace "boto3>=1.34.75" "boto3>=1.34.58" \
'';
disabledTests = [
"test_main_get_query"
"test_main_get_with_color"
nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
];
pythonImportsCheck = [