mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
cve-bin-tool: format with nixfmt-rfc-style
This commit is contained in:
parent
e7182ec60c
commit
c4b2816ead
@ -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; };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user