python314Packages.appthreat-vulnerability-db: 6.5.1 -> 6.6.0 (#484359)
This commit is contained in:
@@ -7,11 +7,13 @@
|
||||
fetchFromGitHub,
|
||||
httpx,
|
||||
msgpack,
|
||||
oras,
|
||||
orjson,
|
||||
packageurl-python,
|
||||
pydantic,
|
||||
pytestCheckHook,
|
||||
pytest-cov-stub,
|
||||
pytestCheckHook,
|
||||
pyyaml,
|
||||
rich,
|
||||
semver,
|
||||
setuptools,
|
||||
@@ -19,16 +21,16 @@
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "appthreat-vulnerability-db";
|
||||
version = "6.5.1";
|
||||
version = "6.6.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AppThreat";
|
||||
repo = "vulnerability-db";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-SyUTDWi9t37Gw8qn7vCpW+l5jBAXFH5b/VACrFhgsRU=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-/tcfHEvTdk0B/vfcqqkTn9kGT3QIPLWW4l01fjnrhqE=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
@@ -51,13 +53,24 @@ buildPythonPackage rec {
|
||||
semver
|
||||
tabulate
|
||||
]
|
||||
++ httpx.optional-dependencies.http2;
|
||||
++ httpx.optional-dependencies.http2
|
||||
++ pydantic.optional-dependencies.email;
|
||||
|
||||
optional-dependencies = {
|
||||
all = [
|
||||
oras
|
||||
pyyaml
|
||||
];
|
||||
custom = [ pyyaml ];
|
||||
oras = [ oras ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-cov-stub
|
||||
pytestCheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
]
|
||||
++ lib.flatten (builtins.attrValues finalAttrs.passthru.optional-dependencies);
|
||||
|
||||
disabledTests = [
|
||||
# Tests require network access
|
||||
@@ -71,9 +84,9 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Vulnerability database and package search for sources such as OSV, NVD, GitHub and npm";
|
||||
homepage = "https://github.com/appthreat/vulnerability-db";
|
||||
changelog = "https://github.com/AppThreat/vulnerability-db/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/AppThreat/vulnerability-db/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
mainProgram = "vdb";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user