Loading pkgs/development/python-modules/appthreat-vulnerability-db/default.nix +17 −5 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ , packageurl-python , pytestCheckHook , pythonOlder , pythonRelaxDepsHook , semver , tabulate }: Loading @@ -27,6 +28,22 @@ buildPythonPackage rec { hash = "sha256-lbaDoLEOMzMGwqBx6gBynVpXz/NM/uCJELwd4d1IEwk="; }; 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 = [ "semver" ]; nativeBuildInputs = [ pythonRelaxDepsHook ]; propagatedBuildInputs = [ appdirs cvss Loading @@ -42,11 +59,6 @@ buildPythonPackage rec { pytestCheckHook ]; postPatch = '' substituteInPlace pytest.ini \ --replace " --cov-append --cov-report term --cov vdb" "" ''; preCheck = '' export HOME=$(mktemp -d); ''; Loading Loading
pkgs/development/python-modules/appthreat-vulnerability-db/default.nix +17 −5 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ , packageurl-python , pytestCheckHook , pythonOlder , pythonRelaxDepsHook , semver , tabulate }: Loading @@ -27,6 +28,22 @@ buildPythonPackage rec { hash = "sha256-lbaDoLEOMzMGwqBx6gBynVpXz/NM/uCJELwd4d1IEwk="; }; 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 = [ "semver" ]; nativeBuildInputs = [ pythonRelaxDepsHook ]; propagatedBuildInputs = [ appdirs cvss Loading @@ -42,11 +59,6 @@ buildPythonPackage rec { pytestCheckHook ]; postPatch = '' substituteInPlace pytest.ini \ --replace " --cov-append --cov-report term --cov vdb" "" ''; preCheck = '' export HOME=$(mktemp -d); ''; Loading