mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +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 {
|
buildPythonPackage rec {
|
||||||
pname = "appthreat-vulnerability-db";
|
pname = "appthreat-vulnerability-db";
|
||||||
version = "5.5.10";
|
version = "5.6.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "AppThreat";
|
owner = "AppThreat";
|
||||||
repo = "vulnerability-db";
|
repo = "vulnerability-db";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-yBB66H8l+kjVcpmt3gYzggRgfxjFvMPwy3rcYuKYqks=";
|
hash = "sha256-tRC+w9HyXuN6eWbNaccK0xtcOnJpuErcHaB7+lvTiQI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pytest.ini \
|
substituteInPlace pyproject.toml \
|
||||||
--replace " --cov-append --cov-report term --cov vdb" ""
|
--replace-warn " --cov-report=term-missing --no-cov-on-fail --cov vdb" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pythonRelaxDeps = [
|
pythonRelaxDeps = [
|
||||||
|
Loading…
Reference in New Issue
Block a user