blob: a889f0168924448c84833735d3d2a34e4bdba6ff (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "ospd-openvas";
version = "22.7.1";
pyproject = true;
src = fetchFromGitHub {
owner = "greenbone";
repo = "ospd-openvas";
rev = "refs/tags/v${version}";
hash = "sha256-bFZTwNITDG5OpoWD7F1Ad6BQFpY4Q5CGUGbYy7rTuc0=";
};
pythonRelaxDeps = [
"defusedxml"
"packaging"
"psutil"
"python-gnupg"
];
build-system = with python3.pkgs; [ poetry-core ];
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/releases/tag/v${version}";
license = licenses.agpl3Only;
maintainers = with maintainers; [ fab ];
platforms = platforms.linux;
};
}
|