python312Packages.pysigma: format with nixfmt
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user