mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-19 19:48:09 +03:00
vunnel: init at 0.21.1
Tool for collecting vulnerability data from various sources https://github.com/anchore/vunnel
This commit is contained in:
parent
d515ded300
commit
446ae7f31e
83
pkgs/by-name/vu/vunnel/package.nix
Normal file
83
pkgs/by-name/vu/vunnel/package.nix
Normal file
@ -0,0 +1,83 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, git
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "vunnel";
|
||||
version = "0.21.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "anchore";
|
||||
repo = "vunnel";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-m+khfAEN+fO3UuCYBqshlvjIXSzebeWBQtoQtPalIio=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"ijson"
|
||||
"sqlalchemy"
|
||||
];
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user