From df708ff63f6b1feccd6539804614d802fd5ec133 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 27 Apr 2024 14:13:53 +0200 Subject: [PATCH] python311Packages.pysigma-backend-elasticsearch: format with nixfmt --- .../pysigma-backend-elasticsearch/default.nix | 29 ++++++++----------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/pkgs/development/python-modules/pysigma-backend-elasticsearch/default.nix b/pkgs/development/python-modules/pysigma-backend-elasticsearch/default.nix index a405f859e693..4fea0395ef6f 100644 --- a/pkgs/development/python-modules/pysigma-backend-elasticsearch/default.nix +++ b/pkgs/development/python-modules/pysigma-backend-elasticsearch/default.nix @@ -1,11 +1,12 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, poetry-core -, pysigma -, pytestCheckHook -, pythonOlder -, requests +{ + lib, + buildPythonPackage, + fetchFromGitHub, + poetry-core, + pysigma, + pytestCheckHook, + pythonOlder, + requests, }: buildPythonPackage rec { @@ -27,22 +28,16 @@ buildPythonPackage rec { --replace-fail " --cov=sigma --cov-report term --cov-report xml:cov.xml" "" ''; - build-system = [ - poetry-core - ]; + build-system = [ poetry-core ]; - dependencies = [ - pysigma - ]; + dependencies = [ pysigma ]; nativeCheckInputs = [ pytestCheckHook requests ]; - pythonImportsCheck = [ - "sigma.backends.elasticsearch" - ]; + pythonImportsCheck = [ "sigma.backends.elasticsearch" ]; disabledTests = [ # Tests requires network access