Merge pull request #219766 from fabaff/ospd
ospd-openvas: init at 22.4.6
This commit is contained in:
@@ -21,8 +21,8 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "greenbone";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-dZgs+G2vJQIKnN9xHcNeNViG7mOIdKb+Ms2AKE+FC4M=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-dZgs+G2vJQIKnN9xHcNeNViG7mOIdKb+Ms2AKE+FC4M=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -44,6 +44,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Framework for vulnerability scanners which support OSP";
|
||||
homepage = "https://github.com/greenbone/ospd";
|
||||
changelog = "https://github.com/greenbone/ospd/releases/tag/v${version}";
|
||||
license = with licenses; [ agpl3Plus ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "ospd-openvas";
|
||||
version = "22.4.6";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "greenbone";
|
||||
repo = "ospd-openvas";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-tgLOO4L/P6USiPf72uZse36r8HhXJnUUT8PfZH4E/jg=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"packaging"
|
||||
"python-gnupg"
|
||||
];
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
defusedxml
|
||||
deprecated
|
||||
lxml
|
||||
packaging
|
||||
paho-mqtt
|
||||
psutil
|
||||
python-gnupg
|
||||
redis
|
||||
sentry-sdk
|
||||
];
|
||||
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"ospd_openvas"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "OSP server implementation to allow GVM to remotely control an OpenVAS Scanner";
|
||||
homepage = "https://github.com/greenbone/ospd-openvas";
|
||||
changelog = "https://github.com/greenbone/ospd-openvas/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -5405,6 +5405,8 @@ with pkgs;
|
||||
|
||||
ossutil = callPackage ../tools/admin/ossutil {};
|
||||
|
||||
ospd-openvas = callPackage ../tools/security/ospd-openvas {};
|
||||
|
||||
osv-detector = callPackage ../tools/security/osv-detector {};
|
||||
|
||||
osv-scanner = callPackage ../tools/security/osv-scanner {};
|
||||
|
||||
Reference in New Issue
Block a user