python312Packages.pysigma: format with nixfmt

This commit is contained in:
Fabian Affolter
2024-04-27 19:33:34 +02:00
parent 02459a68c9
commit 7a772ebe3d
@@ -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";