notus-scanner: format with nixfmt
This commit is contained in:
parent
d2213b78e8
commit
f2059c619d
1 changed files with 18 additions and 27 deletions
|
@ -1,15 +1,16 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, paho-mqtt
|
||||
, poetry-core
|
||||
, psutil
|
||||
, pytestCheckHook
|
||||
, python-gnupg
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, sentry-sdk
|
||||
, tomli
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
paho-mqtt,
|
||||
poetry-core,
|
||||
psutil,
|
||||
pytestCheckHook,
|
||||
python-gnupg,
|
||||
pythonOlder,
|
||||
pythonRelaxDepsHook,
|
||||
sentry-sdk,
|
||||
tomli,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -31,30 +32,20 @@ buildPythonPackage rec {
|
|||
"python-gnupg"
|
||||
];
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
paho-mqtt
|
||||
psutil
|
||||
python-gnupg
|
||||
sentry-sdk
|
||||
] ++ lib.optionals (pythonOlder "3.11") [
|
||||
tomli
|
||||
];
|
||||
] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"notus.scanner"
|
||||
];
|
||||
pythonImportsCheck = [ "notus.scanner" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Helper to create results from local security checks";
|
||||
|
|
Loading…
Reference in a new issue