blob: 53df74f8533c7d37c3e5271f3ccede0ba64a1595 (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
{
lib,
fetchFromGitHub,
git,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "vunnel";
version = "0.23.2";
pyproject = true;
src = fetchFromGitHub {
owner = "anchore";
repo = "vunnel";
rev = "refs/tags/v${version}";
hash = "sha256-wXBfrlb4i4G3Sm0SopvDVGcQ0/hRGtUdzUQYyUj8/Ps=";
};
pythonRelaxDeps = [
"ijson"
"sqlalchemy"
];
build-system = with python3.pkgs; [
poetry-core
poetry-dynamic-versioning
];
dependencies = with python3.pkgs; [
click
colorlog
cvss
defusedxml
ijson
importlib-metadata
iso8601
lxml
mashumaro
mergedeep
orjson
pytest-snapshot
python-dateutil
pyyaml
requests
sqlalchemy
xsdata
xxhash
zstandard
];
nativeCheckInputs =
[ git ]
++ (with python3.pkgs; [
jsonschema
pytest-mock
pytest-unordered
pytestCheckHook
]);
pythonImportsCheck = [ "vunnel" ];
disabledTests = [
# Compare output
"test_status"
# TypeError
"test_parser"
];
meta = with lib; {
description = "Tool for collecting vulnerability data from various sources";
homepage = "https://github.com/anchore/vunnel";
changelog = "https://github.com/anchore/vunnel/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
mainProgram = "vunnel";
};
}
|