From 7a772ebe3d969e5f53829af8c6dffd722ba3294b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 27 Apr 2024 19:33:34 +0200 Subject: [PATCH] python312Packages.pysigma: format with nixfmt --- .../python-modules/pysigma/default.nix | 43 ++++++++----------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/pkgs/development/python-modules/pysigma/default.nix b/pkgs/development/python-modules/pysigma/default.nix index b429bb1877a0..5816b43926ac 100644 --- a/pkgs/development/python-modules/pysigma/default.nix +++ b/pkgs/development/python-modules/pysigma/default.nix @@ -1,16 +1,17 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, fetchpatch -, jinja2 -, packaging -, poetry-core -, pyparsing -, pytestCheckHook -, pythonOlder -, pythonRelaxDepsHook -, pyyaml -, requests +{ + lib, + buildPythonPackage, + fetchFromGitHub, + fetchpatch, + jinja2, + packaging, + poetry-core, + pyparsing, + pytestCheckHook, + pythonOlder, + pythonRelaxDepsHook, + pyyaml, + requests, }: buildPythonPackage rec { @@ -32,13 +33,9 @@ buildPythonPackage rec { "packaging" ]; - build-system = [ - poetry-core - ]; + build-system = [ poetry-core ]; - nativeBuildInputs = [ - pythonRelaxDepsHook - ]; + nativeBuildInputs = [ pythonRelaxDepsHook ]; dependencies = [ jinja2 @@ -48,9 +45,7 @@ buildPythonPackage rec { requests ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; disabledTests = [ # Tests require network connection @@ -58,9 +53,7 @@ buildPythonPackage rec { "test_sigma_plugin_installation" ]; - pythonImportsCheck = [ - "sigma" - ]; + pythonImportsCheck = [ "sigma" ]; meta = with lib; { description = "Library to parse and convert Sigma rules into queries";