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
|
lib,
|
||||||
, fetchFromGitHub
|
buildPythonPackage,
|
||||||
, paho-mqtt
|
fetchFromGitHub,
|
||||||
, poetry-core
|
paho-mqtt,
|
||||||
, psutil
|
poetry-core,
|
||||||
, pytestCheckHook
|
psutil,
|
||||||
, python-gnupg
|
pytestCheckHook,
|
||||||
, pythonOlder
|
python-gnupg,
|
||||||
, pythonRelaxDepsHook
|
pythonOlder,
|
||||||
, sentry-sdk
|
pythonRelaxDepsHook,
|
||||||
, tomli
|
sentry-sdk,
|
||||||
|
tomli,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -31,30 +32,20 @@ buildPythonPackage rec {
|
||||||
"python-gnupg"
|
"python-gnupg"
|
||||||
];
|
];
|
||||||
|
|
||||||
build-system = [
|
build-system = [ poetry-core ];
|
||||||
poetry-core
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||||
pythonRelaxDepsHook
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
paho-mqtt
|
paho-mqtt
|
||||||
psutil
|
psutil
|
||||||
python-gnupg
|
python-gnupg
|
||||||
sentry-sdk
|
sentry-sdk
|
||||||
] ++ lib.optionals (pythonOlder "3.11") [
|
] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
|
||||||
tomli
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [ pytestCheckHook ];
|
||||||
pytestCheckHook
|
|
||||||
];
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "notus.scanner" ];
|
||||||
"notus.scanner"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Helper to create results from local security checks";
|
description = "Helper to create results from local security checks";
|
||||||
|
|
Loading…
Reference in a new issue