cve-bin-tool: unstable-2021-04-15 -> 2.2.1

* move cve-bin-tool from development/python-modules to tools/security

Co-authored-by: r-burns <52847440+r-burns@users.noreply.github.com>
This commit is contained in:
Akshat Agarwal 2021-09-21 02:43:54 +05:30
parent 6eef746c14
commit 0c5c9f42f7
3 changed files with 9 additions and 8 deletions

@ -1,5 +1,5 @@
{ lib
, buildPythonPackage
, buildPythonApplication
, fetchFromGitHub
, jsonschema
, plotly
@ -18,6 +18,7 @@
, rich
, aiohttp
, toml
, distro
# aiohttp[speedups]
, aiodns
, brotlipy
@ -25,15 +26,15 @@
, pillow
, pytestCheckHook
}:
buildPythonPackage {
buildPythonApplication rec {
pname = "cve-bin-tool";
version = "unstable-2021-04-15";
version = "2.2.1";
src = fetchFromGitHub {
owner = "intel";
repo = "cve-bin-tool";
rev = "10cb6fd0baffe35babfde024bc8c70aa58629237";
sha256 = "STf0tJBpadBqsbC+MghBai8zahDkrXfLoFRJ+84wvvY=";
rev = "v${version}";
sha256 = "087w7fsc4vd4sjz8ww6q71b108yhz94ydr76d99rhlmcqsq7fihs";
};
# Wants to open a sqlite database, access the internet, etc
@ -57,7 +58,7 @@ buildPythonPackage {
rich
aiohttp
toml
distro
# aiohttp[speedups]
aiodns
brotlipy

@ -4168,6 +4168,8 @@ with pkgs;
cwebbin = callPackage ../development/tools/misc/cwebbin { };
cve-bin-tool = python3Packages.callPackage ../tools/security/cve-bin-tool { };
cvs-fast-export = callPackage ../applications/version-management/cvs-fast-export { };
dadadodo = callPackage ../tools/text/dadadodo { };

@ -1770,8 +1770,6 @@ in {
curve25519-donna = callPackage ../development/python-modules/curve25519-donna { };
cve-bin-tool = callPackage ../development/python-modules/cve-bin-tool { };
cvxopt = callPackage ../development/python-modules/cvxopt { };
cvxpy = callPackage ../development/python-modules/cvxpy { };