blob: 8f127a420922f1f1540491da1b2b44f1cfcbcd0a (
plain)
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pytestCheckHook,
python-gvm,
}:
buildPythonPackage rec {
pname = "gvm-tools";
version = "25.4.4";
pyproject = true;
src = fetchFromGitHub {
owner = "greenbone";
repo = "gvm-tools";
tag = "v${version}";
hash = "sha256-htBkQf9rxPXDtcr5w1ECshEKyPxPr6YaS4PtMvK2VQg=";
};
__darwinAllowLocalNetworking = true;
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ python-gvm ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# Don't test sending
"SendTargetTestCase"
"HelpFormattingParserTestCase"
];
pythonImportsCheck = [ "gvmtools" ];
meta = {
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/${src.tag}";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ fab ];
};
}
|