blob: 35cd9afd4403165bcaba09abf19d10600b21e985 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
python-gvm,
pythonAtLeast,
pythonOlder,
}:
buildPythonPackage rec {
pname = "gvm-tools";
version = "24.3.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "greenbone";
repo = "gvm-tools";
rev = "refs/tags/v${version}";
hash = "sha256-LLXMdT1q6IWsbsRjflpGN5pcjUCXWzdFK3gMw4mBm0U=";
};
__darwinAllowLocalNetworking = true;
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ python-gvm ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# Don't test sending
"SendTargetTestCase"
] ++ lib.optionals (pythonAtLeast "3.10") [ "HelpFormattingParserTestCase" ];
pythonImportsCheck = [ "gvmtools" ];
meta = with lib; {
description = "Collection of APIs that help with remote controlling a Greenbone Security Manager";
homepage = "https://github.com/greenbone/gvm-tools";
changelog = "https://github.com/greenbone/gvm-tools/releases/tag/v${version}";
license = with licenses; [ gpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}
|