notus-scanner: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-22 22:57:18 +02:00
parent d2213b78e8
commit f2059c619d

View File

@ -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";