python312Packages.es-client: refactor

- format with nixfmt
This commit is contained in:
Fabian Affolter 2024-04-11 15:23:29 +02:00
parent f65eeb51be
commit 4f51994509
1 changed files with 24 additions and 26 deletions

View File

@ -1,21 +1,22 @@
{ lib
, buildPythonPackage
, certifi
, click
, ecs-logging
, elastic-transport
, elasticsearch8
, fetchFromGitHub
, hatchling
, mock
, pytest-asyncio
, pytestCheckHook
, pythonOlder
, pythonRelaxDepsHook
, pyyaml
, requests
, six
, voluptuous
{
lib,
buildPythonPackage,
certifi,
click,
ecs-logging,
elastic-transport,
elasticsearch8,
fetchFromGitHub,
hatchling,
mock,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
pythonRelaxDepsHook,
pyyaml,
requests,
six,
voluptuous,
}:
buildPythonPackage rec {
@ -34,12 +35,11 @@ buildPythonPackage rec {
pythonRelaxDeps = true;
nativeBuildInputs = [
hatchling
pythonRelaxDepsHook
];
build-system = [ hatchling ];
propagatedBuildInputs = [
nativeBuildInputs = [ pythonRelaxDepsHook ];
dependencies = [
certifi
click
ecs-logging
@ -57,9 +57,7 @@ buildPythonPackage rec {
requests
];
pythonImportsCheck = [
"es_client"
];
pythonImportsCheck = [ "es_client" ];
disabledTests = [
# Tests require network access