Merge pull request #306104 from fabaff/notus-scanner-bump
notus-scanner: 22.6.2 -> 22.6.3
This commit is contained in:
commit
c79a45d1d3
|
@ -1,29 +1,30 @@
|
||||||
{ 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 {
|
||||||
pname = "notus-scanner";
|
pname = "notus-scanner";
|
||||||
version = "22.6.2";
|
version = "22.6.3";
|
||||||
format = "pyproject";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "greenbone";
|
owner = "greenbone";
|
||||||
repo = pname;
|
repo = "notus-scanner";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-V70cFSfQ9SuLhCSUa8DuYA7qaabwiK9IbIkYcQMgVUk=";
|
hash = "sha256-LYYof/s0OvXMbEH7jyFIymUVrWYUd/6lychIzfPlylc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
pythonRelaxDeps = [
|
pythonRelaxDeps = [
|
||||||
|
@ -31,27 +32,20 @@ buildPythonPackage rec {
|
||||||
"python-gnupg"
|
"python-gnupg"
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
build-system = [ poetry-core ];
|
||||||
poetry-core
|
|
||||||
pythonRelaxDepsHook
|
nativeBuildInputs = [ 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 New Issue
Block a user