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
1 changed files with 14 additions and 11 deletions
|
@ -3,10 +3,6 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, jsonschema
|
, jsonschema
|
||||||
, plotly
|
, plotly
|
||||||
, pytest
|
|
||||||
, pytest-xdist
|
|
||||||
, pytest-cov
|
|
||||||
, pytest-asyncio
|
|
||||||
, beautifulsoup4
|
, beautifulsoup4
|
||||||
, pyyaml
|
, pyyaml
|
||||||
, isort
|
, isort
|
||||||
|
@ -25,16 +21,19 @@
|
||||||
, cchardet
|
, cchardet
|
||||||
, pillow
|
, pillow
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, xmlschema
|
||||||
|
, setuptools
|
||||||
|
, packaging
|
||||||
}:
|
}:
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "cve-bin-tool";
|
pname = "cve-bin-tool";
|
||||||
version = "3.0";
|
version = "3.1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "intel";
|
owner = "intel";
|
||||||
repo = "cve-bin-tool";
|
repo = "cve-bin-tool";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1fmdnlhi03fdr4d4n7ydf6m0gx0cl77n3db8ldbs3m9zryblhzpr";
|
sha256 = "0nz3ax3ldnrzk8694x0p743g5h2zply29ljpn21llbc7ca27zdv9";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Wants to open a sqlite database, access the internet, etc
|
# Wants to open a sqlite database, access the internet, etc
|
||||||
|
@ -43,10 +42,6 @@ buildPythonApplication rec {
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
jsonschema
|
jsonschema
|
||||||
plotly
|
plotly
|
||||||
pytest
|
|
||||||
pytest-xdist
|
|
||||||
pytest-cov
|
|
||||||
pytest-asyncio
|
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
pyyaml
|
pyyaml
|
||||||
isort
|
isort
|
||||||
|
@ -65,6 +60,9 @@ buildPythonApplication rec {
|
||||||
cchardet
|
cchardet
|
||||||
# needed by brotlipy
|
# needed by brotlipy
|
||||||
pillow
|
pillow
|
||||||
|
setuptools
|
||||||
|
xmlschema
|
||||||
|
packaging
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
@ -75,10 +73,15 @@ buildPythonApplication rec {
|
||||||
"cve_bin_tool"
|
"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; {
|
meta = with lib; {
|
||||||
description = "CVE Binary Checker Tool";
|
description = "CVE Binary Checker Tool";
|
||||||
homepage = "https://github.com/intel/cve-bin-tool";
|
homepage = "https://github.com/intel/cve-bin-tool";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = teams.determinatesystems.members;
|
maintainers = teams.determinatesystems.members;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue