mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
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:
commit
453fa80850
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user