3 buildPythonApplication,
35 buildPythonApplication rec {
36 pname = "cve-bin-tool";
38 format = "setuptools";
40 src = fetchFromGitHub {
42 repo = "cve-bin-tool";
43 rev = "refs/tags/v${version}";
44 hash = "sha256-A5w4U5EDX+UZWNMuz8GTOcubo8N2KfDlVV0aRNsO8/E=";
47 # Wants to open a sqlite database, access the internet, etc
59 google-cloud-sdk # gsutil
76 optional-dependencies = {
80 propagatedBuildInputs = [ pip ];
82 nativeCheckInputs = [ pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies);
84 pythonImportsCheck = [ "cve_bin_tool" ];
86 passthru.tests.version = testers.testVersion { package = cve-bin-tool; };
89 description = "CVE Binary Checker Tool";
90 homepage = "https://github.com/intel/cve-bin-tool";
91 license = licenses.gpl3Plus;