Commit 4f519945 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.es-client: refactor

- format with nixfmt
parent f65eeb51
Loading
Loading
Loading
Loading
+24 −26
Original line number Diff line number Diff line
{ 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 ];

  nativeBuildInputs = [ pythonRelaxDepsHook ];

  propagatedBuildInputs = [
  dependencies = [
    certifi
    click
    ecs-logging
@@ -57,9 +57,7 @@ buildPythonPackage rec {
    requests
  ];

  pythonImportsCheck = [
    "es_client"
  ];
  pythonImportsCheck = [ "es_client" ];

  disabledTests = [
    # Tests require network access