Merge pull request #285084 from fabaff/appthreat-vulnerability-db-fix

python311Packages.appthreat-vulnerability-db: 5.5.10 -> 5.6.0
This commit is contained in:
Fabian Affolter 2024-01-31 08:00:35 +01:00 committed by GitHub
commit 453fa80850
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,21 +17,21 @@
buildPythonPackage rec {
pname = "appthreat-vulnerability-db";
version = "5.5.10";
version = "5.6.0";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "AppThreat";
repo = "vulnerability-db";
rev = "refs/tags/v${version}";
hash = "sha256-yBB66H8l+kjVcpmt3gYzggRgfxjFvMPwy3rcYuKYqks=";
hash = "sha256-tRC+w9HyXuN6eWbNaccK0xtcOnJpuErcHaB7+lvTiQI=";
};
postPatch = ''
substituteInPlace pytest.ini \
--replace " --cov-append --cov-report term --cov vdb" ""
substituteInPlace pyproject.toml \
--replace-warn " --cov-report=term-missing --no-cov-on-fail --cov vdb" ""
'';
pythonRelaxDeps = [