cve-bin-tool: format with nixfmt-rfc-style

This commit is contained in:
tea 2024-07-28 13:52:09 +02:00
parent e7182ec60c
commit c4b2816ead

View File

@ -1,34 +1,35 @@
{ lib
, buildPythonApplication
, fetchFromGitHub
{
lib,
buildPythonApplication,
fetchFromGitHub,
# aiohttp[speedups]
, aiodns
, aiohttp
, beautifulsoup4
, brotlipy
, cvss
, distro
, filetype
, google-cloud-sdk
, jinja2
, jsonschema
, lib4sbom
, packageurl-python
, packaging
, plotly
, pytestCheckHook
, python-gnupg
, pyyaml
, requests
, rich
, rpmfile
, setuptools
, xmlschema
, zstandard
, reportlab
, pip
, testers
, cve-bin-tool
aiodns,
aiohttp,
beautifulsoup4,
brotlipy,
cvss,
distro,
filetype,
google-cloud-sdk,
jinja2,
jsonschema,
lib4sbom,
packageurl-python,
packaging,
plotly,
pytestCheckHook,
python-gnupg,
pyyaml,
requests,
rich,
rpmfile,
setuptools,
xmlschema,
zstandard,
reportlab,
pip,
testers,
cve-bin-tool,
}:
buildPythonApplication rec {
@ -73,22 +74,14 @@ buildPythonApplication rec {
];
optional-dependencies = {
pdf = [
reportlab
];
pdf = [ reportlab ];
};
propagatedBuildInputs = [
pip
];
propagatedBuildInputs = [ pip ];
nativeCheckInputs = [
pytestCheckHook
] ++ lib.flatten (lib.attrValues optional-dependencies);
nativeCheckInputs = [ pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies);
pythonImportsCheck = [
"cve_bin_tool"
];
pythonImportsCheck = [ "cve_bin_tool" ];
passthru.tests.version = testers.testVersion { package = cve-bin-tool; };