diff --git a/pkgs/development/python-modules/pysigma-backend-opensearch/default.nix b/pkgs/development/python-modules/pysigma-backend-opensearch/default.nix index a1df7e094695..5716a6ebd79e 100644 --- a/pkgs/development/python-modules/pysigma-backend-opensearch/default.nix +++ b/pkgs/development/python-modules/pysigma-backend-opensearch/default.nix @@ -1,13 +1,14 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, poetry-core -, pysigma -, pysigma-backend-elasticsearch -, pytestCheckHook -, pythonOlder -, pythonRelaxDepsHook -, requests +{ + lib, + buildPythonPackage, + fetchFromGitHub, + poetry-core, + pysigma, + pysigma-backend-elasticsearch, + pytestCheckHook, + pythonOlder, + pythonRelaxDepsHook, + requests, }: buildPythonPackage rec { @@ -29,16 +30,13 @@ buildPythonPackage rec { --replace-fail " --cov=sigma --cov-report term --cov-report xml:cov.xml" "" ''; - pythonRelaxDeps = [ - "pysigma" - ]; + pythonRelaxDeps = [ "pysigma" ]; - nativeBuildInputs = [ - poetry-core - pythonRelaxDepsHook - ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + nativeBuildInputs = [ pythonRelaxDepsHook ]; + + dependencies = [ pysigma pysigma-backend-elasticsearch ]; @@ -48,9 +46,7 @@ buildPythonPackage rec { requests ]; - pythonImportsCheck = [ - "sigma.backends.opensearch" - ]; + pythonImportsCheck = [ "sigma.backends.opensearch" ]; disabledTests = [ # Tests requires network access