cve-bin-tool: 3.0 -> 3.1.1 (#178406)
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
0aa0320384
commit
926d977aea
@ -3,10 +3,6 @@
|
||||
, fetchFromGitHub
|
||||
, jsonschema
|
||||
, plotly
|
||||
, pytest
|
||||
, pytest-xdist
|
||||
, pytest-cov
|
||||
, pytest-asyncio
|
||||
, beautifulsoup4
|
||||
, pyyaml
|
||||
, isort
|
||||
@ -25,16 +21,19 @@
|
||||
, cchardet
|
||||
, pillow
|
||||
, pytestCheckHook
|
||||
, xmlschema
|
||||
, setuptools
|
||||
, packaging
|
||||
}:
|
||||
buildPythonApplication rec {
|
||||
pname = "cve-bin-tool";
|
||||
version = "3.0";
|
||||
version = "3.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "intel";
|
||||
repo = "cve-bin-tool";
|
||||
rev = "v${version}";
|
||||
sha256 = "1fmdnlhi03fdr4d4n7ydf6m0gx0cl77n3db8ldbs3m9zryblhzpr";
|
||||
sha256 = "0nz3ax3ldnrzk8694x0p743g5h2zply29ljpn21llbc7ca27zdv9";
|
||||
};
|
||||
|
||||
# Wants to open a sqlite database, access the internet, etc
|
||||
@ -43,10 +42,6 @@ buildPythonApplication rec {
|
||||
propagatedBuildInputs = [
|
||||
jsonschema
|
||||
plotly
|
||||
pytest
|
||||
pytest-xdist
|
||||
pytest-cov
|
||||
pytest-asyncio
|
||||
beautifulsoup4
|
||||
pyyaml
|
||||
isort
|
||||
@ -65,6 +60,9 @@ buildPythonApplication rec {
|
||||
cchardet
|
||||
# needed by brotlipy
|
||||
pillow
|
||||
setuptools
|
||||
xmlschema
|
||||
packaging
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
@ -75,10 +73,15 @@ buildPythonApplication rec {
|
||||
"cve_bin_tool"
|
||||
];
|
||||
|
||||
# required until https://github.com/intel/cve-bin-tool/pull/1665 is merged
|
||||
postPatch = ''
|
||||
sed '/^pytest/d' -i requirements.txt
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "CVE Binary Checker Tool";
|
||||
homepage = "https://github.com/intel/cve-bin-tool";
|
||||
license = licenses.gpl3Only;
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = teams.determinatesystems.members;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user