mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
python311Packages.appthreat-vulnerability-db: 5.1.4 -> 5.2.0
Diff: https://github.com/AppThreat/vulnerability-db/compare/refs/tags/v5.1.4...v5.2.0 Changelog: https://github.com/AppThreat/vulnerability-db/releases/tag/v5.2.0
This commit is contained in:
parent
03b3056f25
commit
1453f87209
1 changed files with 5 additions and 6 deletions
|
@ -11,13 +11,14 @@
|
|||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, semver
|
||||
, setuptools
|
||||
, tabulate
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "appthreat-vulnerability-db";
|
||||
version = "5.1.4";
|
||||
format = "setuptools";
|
||||
version = "5.2.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
|
@ -25,15 +26,12 @@ buildPythonPackage rec {
|
|||
owner = "AppThreat";
|
||||
repo = "vulnerability-db";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-IOQyQ78u9Pr27UKchjSqzCl47UajknI8MYZZy2DheSk=";
|
||||
hash = "sha256-OtaoyqYRsZVoWezrTAy3zROyNeRLbZmCT+z7YCwf9Ow=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pytest.ini \
|
||||
--replace " --cov-append --cov-report term --cov vdb" ""
|
||||
# https://github.com/AppThreat/vulnerability-db/pull/48
|
||||
substituteInPlace vdb/lib/utils.py \
|
||||
--replace "isvalid(" "is_valid("
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
@ -42,6 +40,7 @@ buildPythonPackage rec {
|
|||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
Loading…
Reference in a new issue